summaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
authordefault <nobody@localhost>2023-08-08 19:29:34 +0200
committerdefault <nobody@localhost>2023-08-08 19:29:34 +0200
commit3e5bb109d14e194958a448a0e2feb55f685afaf2 (patch)
treefb032c24cef0b1ad6c5c41651fff2be6f203fe92 /html.c
parent3611af78d6cec374b75788bc6b01b170bb355f40 (diff)
Renamed json dump functions to new xs spec.
Diffstat (limited to 'html.c')
-rw-r--r--html.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/html.c b/html.c
index 06b2a17..98ae4a5 100644
--- a/html.c
+++ b/html.c
@@ -1990,7 +1990,7 @@ int html_post_handler(const xs_dict *req, const char *q_path,
p_vars = xs_dict_get(req, "p_vars");
#if 0
- xs_json_dump_pp(p_vars, 4, stdout);
+ xs_json_dump(p_vars, 4, stdout);
#endif
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,
rename(fn, bfn);
if ((f = fopen(fn, "w")) != NULL) {
- xs_json_dump_pp(snac.config, 4, f);
+ xs_json_dump(snac.config, 4, f);
fclose(f);
}
else