summaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
Diffstat (limited to 'html.c')
-rw-r--r--html.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/html.c b/html.c
index 2d9ebe9..a91ac76 100644
--- a/html.c
+++ b/html.c
@@ -1095,7 +1095,7 @@ int html_get_handler(d_char *req, char *q_path, char **body, int *b_size, char *
1095 1095
1096 if (!uid || !user_open(&snac, uid)) { 1096 if (!uid || !user_open(&snac, uid)) {
1097 /* invalid user */ 1097 /* invalid user */
1098 srv_log(xs_fmt("html_get_handler bad user %s", uid)); 1098 srv_debug(1, xs_fmt("html_get_handler bad user %s", uid));
1099 return 404; 1099 return 404;
1100 } 1100 }
1101 1101
@@ -1322,7 +1322,7 @@ int html_post_handler(d_char *req, char *q_path, d_char *payload, int p_size,
1322 uid = xs_list_get(l, 1); 1322 uid = xs_list_get(l, 1);
1323 if (!uid || !user_open(&snac, uid)) { 1323 if (!uid || !user_open(&snac, uid)) {
1324 /* invalid user */ 1324 /* invalid user */
1325 srv_log(xs_fmt("html_post_handler bad user %s", uid)); 1325 srv_debug(1, xs_fmt("html_post_handler bad user %s", uid));
1326 return 404; 1326 return 404;
1327 } 1327 }
1328 1328