From 799d6de1416b964ee846a2d59d60fc3e3306ba1e Mon Sep 17 00:00:00 2001 From: grunfink Date: Wed, 15 Apr 2026 09:14:56 +0200 Subject: Another fix to %s null. --- html.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'html.c') 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; } -- cgit