timekeeper

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

commit 2c819509cfacbb2c83a84eeb1418d555fe324ea5
parent b655c44b20bfc273a2b54f451afaf0ca0697bab2
Author: Jacob R. Edwards <jacob@jacobedwards.org>
Date:   Sun, 24 Mar 2024 13:56:00 -0700

Use tk_htmlerror for login errors

Diffstat:
Mpages/login.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pages/login.c b/pages/login.c @@ -76,7 +76,7 @@ pagelogin(struct pagedata *pd) if (userstatus && userstatus < LoginLast) { kutil_warn(&pd->req, NULL, "Bad login: %s", user_errors[userstatus]); - if ((status = htmlwithin(pd, KELEM_P, user_errors[userstatus])) != KCGI_OK) + if ((status = tk_htmlerror(pd, user_errors[userstatus])) != KCGI_OK) return status; }