diff options
| author | 2022-10-03 19:02:21 +0200 | |
|---|---|---|
| committer | 2022-10-03 19:02:21 +0200 | |
| commit | e285f641b414825709130c3698197df3f068fb4b (patch) | |
| tree | 71c4f64c4781f6b80c35ef3386d428563737ce97 | |
| parent | Updated TODO. (diff) | |
| download | snac2-e285f641b414825709130c3698197df3f068fb4b.tar.gz snac2-e285f641b414825709130c3698197df3f068fb4b.tar.xz snac2-e285f641b414825709130c3698197df3f068fb4b.zip | |
Deleted debugging code.
| -rw-r--r-- | html.c | 6 |
1 files changed, 0 insertions, 6 deletions
| @@ -896,12 +896,6 @@ int html_post_handler(d_char *req, char *q_path, d_char *payload, int p_size, | |||
| 896 | 896 | ||
| 897 | p_vars = xs_dict_get(req, "p_vars"); | 897 | p_vars = xs_dict_get(req, "p_vars"); |
| 898 | 898 | ||
| 899 | { | ||
| 900 | xs *j1 = xs_json_dumps_pp(req, 4); | ||
| 901 | printf("%s\n", j1); | ||
| 902 | printf("[%s]\n", p_path); | ||
| 903 | } | ||
| 904 | |||
| 905 | if (p_path && strcmp(p_path, "admin/note") == 0) { | 899 | if (p_path && strcmp(p_path, "admin/note") == 0) { |
| 906 | /* post note */ | 900 | /* post note */ |
| 907 | char *content = xs_dict_get(p_vars, "content"); | 901 | char *content = xs_dict_get(p_vars, "content"); |