timekeeper

[Abandoned unfinished] CGI web application in C for time tracking. (My first, just a learning project)
Log | Files | Refs | README

commit 68b83972f68fa59c192342f5ea4d2052c330f148
parent e9a907e110171e1e0d046423488298013b7636e6
Author: Jacob R. Edwards <jacob@jacobedwards.org>
Date:   Tue,  5 Mar 2024 23:17:42 -0800

Rename Field enum to http_key

More accurate as it can be a cookie too.

Diffstat:
Mkey.h | 2+-
Mpages/login.c | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/key.h b/key.h @@ -1,4 +1,4 @@ -enum Field { +enum http_key { KeyUsername, KeyPassword, KeyHash, /* Authentication hash */ diff --git a/pages/login.c b/pages/login.c @@ -8,7 +8,7 @@ #include "pages.h" enum kcgi_err -htmlinput(struct pagedata *pd, enum Field field, char *type, int64_t minl, int64_t maxl) +htmlinput(struct pagedata *pd, enum http_key field, char *type, int64_t minl, int64_t maxl) { enum kcgi_err status;