aboutsummaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
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;
}