summaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
Diffstat (limited to 'html.c')
-rw-r--r--html.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/html.c b/html.c
index 23ca8b0..1f6d60c 100644
--- 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,
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");