commit 799d6de
grunfink
·
2026-04-15 07:14:56 +0000 UTC
parent 5e1dbb5
Another fix to %s null.
1 files changed,
+1,
-1
M
html.c
M
html.c
+1,
-1
1@@ -5358,7 +5358,7 @@ int html_post_handler(const xs_dict *req, const char *q_path,
2 uid = xs_list_get(l, 1);
3 if (!uid || !user_open(&snac, uid)) {
4 /* invalid user */
5- srv_debug(1, xs_fmt("html_post_handler bad user %s", uid));
6+ srv_debug(1, xs_fmt("html_post_handler bad user %s", xs_or(uid, "(null)")));
7 return HTTP_STATUS_NOT_FOUND;
8 }
9