aboutsummaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
authorgrunfink <grunfink@comam.es>2026-04-15 09:14:56 +0200
committergrunfink <grunfink@comam.es>2026-04-15 09:14:56 +0200
commit799d6de1416b964ee846a2d59d60fc3e3306ba1e (patch)
tree05316c7835efa349d7f2420dc3cacd2f959aeb10 /html.c
parent5e1dbb58904ad39f20cd8e90c5d8dded2a6ca2ad (diff)
Another fix to %s null.
Diffstat (limited to 'html.c')
-rw-r--r--html.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/html.c b/html.c
index a3d2c61..c17583e 100644
--- a/html.c
+++ b/html.c
@@ -5358,7 +5358,7 @@ int html_post_handler(const xs_dict *req, const char *q_path,
uid = xs_list_get(l, 1);
if (!uid || !user_open(&snac, uid)) {
/* invalid user */
- srv_debug(1, xs_fmt("html_post_handler bad user %s", uid));
+ srv_debug(1, xs_fmt("html_post_handler bad user %s", xs_or(uid, "(null)")));
return HTTP_STATUS_NOT_FOUND;
}