snac2

Fork of https://codeberg.org/grunfink/snac2
git clone https://git.inz.fi/snac2
Log | Files | Refs | README | LICENSE

commit e6022213d21096d30b7a59741816c70986be27a1
parent 68c48a7649687bd7b81322ccd6f3eba7a9b489dc
Author: default <nobody@localhost>
Date:   Fri,  3 Feb 2023 19:41:59 +0100

Merge branch 'master' of /home/angel/git/snac2

Diffstat:
Mhtml.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 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 * if (!uid || !user_open(&snac, uid)) { /* invalid user */ - srv_log(xs_fmt("html_get_handler bad user %s", uid)); + srv_debug(1, xs_fmt("html_get_handler bad user %s", uid)); return 404; } @@ -1322,7 +1322,7 @@ int html_post_handler(d_char *req, char *q_path, d_char *payload, int p_size, uid = xs_list_get(l, 1); if (!uid || !user_open(&snac, uid)) { /* invalid user */ - srv_log(xs_fmt("html_post_handler bad user %s", uid)); + srv_debug(1, xs_fmt("html_post_handler bad user %s", uid)); return 404; }