mirror of
https://codeberg.org/grunfink/snac2.git
synced 2025-01-12 17:13:39 +00:00
Merge branch 'master' of /home/angel/git/snac2
This commit is contained in:
commit
e6022213d2
1 changed files with 2 additions and 2 deletions
4
html.c
4
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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue