diff options
Diffstat (limited to 'html.c')
| -rw-r--r-- | html.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -1990,7 +1990,7 @@ int html_post_handler(const xs_dict *req, const char *q_path, | |||
| 1990 | p_vars = xs_dict_get(req, "p_vars"); | 1990 | p_vars = xs_dict_get(req, "p_vars"); |
| 1991 | 1991 | ||
| 1992 | #if 0 | 1992 | #if 0 |
| 1993 | xs_json_dump_pp(p_vars, 4, stdout); | 1993 | xs_json_dump(p_vars, 4, stdout); |
| 1994 | #endif | 1994 | #endif |
| 1995 | 1995 | ||
| 1996 | if (p_path && strcmp(p_path, "admin/note") == 0) { /** **/ | 1996 | if (p_path && strcmp(p_path, "admin/note") == 0) { /** **/ |
| @@ -2312,7 +2312,7 @@ int html_post_handler(const xs_dict *req, const char *q_path, | |||
| 2312 | rename(fn, bfn); | 2312 | rename(fn, bfn); |
| 2313 | 2313 | ||
| 2314 | if ((f = fopen(fn, "w")) != NULL) { | 2314 | if ((f = fopen(fn, "w")) != NULL) { |
| 2315 | xs_json_dump_pp(snac.config, 4, f); | 2315 | xs_json_dump(snac.config, 4, f); |
| 2316 | fclose(f); | 2316 | fclose(f); |
| 2317 | } | 2317 | } |
| 2318 | else | 2318 | else |