snac2

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

commit e285f641b414825709130c3698197df3f068fb4b
parent 5c63e04f1911939d5d9d72086bb98abb5976cbac
Author: default <nobody@localhost>
Date:   Mon,  3 Oct 2022 19:02:21 +0200

Deleted debugging code.

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

diff --git a/html.c b/html.c @@ -896,12 +896,6 @@ int html_post_handler(d_char *req, char *q_path, d_char *payload, int p_size, p_vars = xs_dict_get(req, "p_vars"); - { - xs *j1 = xs_json_dumps_pp(req, 4); - printf("%s\n", j1); - printf("[%s]\n", p_path); - } - if (p_path && strcmp(p_path, "admin/note") == 0) { /* post note */ char *content = xs_dict_get(p_vars, "content");