diff options
| author | 2023-11-27 10:19:01 +0100 | |
|---|---|---|
| committer | 2023-11-27 10:19:01 +0100 | |
| commit | 1663adbf565f57236617ab227431dd95132d6c9c (patch) | |
| tree | aeb8272653d49342d45b0bd9c53ab667ec4cf21e /html.c | |
| parent | Minor html tweak. (diff) | |
| download | snac2-1663adbf565f57236617ab227431dd95132d6c9c.tar.gz snac2-1663adbf565f57236617ab227431dd95132d6c9c.tar.xz snac2-1663adbf565f57236617ab227431dd95132d6c9c.zip | |
Backport from xs.
Diffstat (limited to 'html.c')
| -rw-r--r-- | html.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -2382,7 +2382,7 @@ int html_get_handler(const xs_dict *req, const char *q_path, | |||
| 2382 | xs_html_text(content)))); | 2382 | xs_html_text(content)))); |
| 2383 | } | 2383 | } |
| 2384 | 2384 | ||
| 2385 | *body = xs_html_render_s(rss, xs_dup("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n")); | 2385 | *body = xs_html_render_s(rss, "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"); |
| 2386 | *b_size = strlen(*body); | 2386 | *b_size = strlen(*body); |
| 2387 | *ctype = "application/rss+xml; charset=utf-8"; | 2387 | *ctype = "application/rss+xml; charset=utf-8"; |
| 2388 | status = 200; | 2388 | status = 200; |