aboutsummaryrefslogtreecommitdiff
path: root/httpd.c
diff options
context:
space:
mode:
authorbyte <byte@noreply.codeberg.org>2026-01-24 21:33:30 +0100
committerbyte <byte@noreply.codeberg.org>2026-01-24 21:33:30 +0100
commitbfd071c63826f4d13d48614cedebfb2f8ea20cf6 (patch)
tree8cc9b766b88fa66d051e55d65d6694570553a17b /httpd.c
parentd4137522487235180528281ee64b7c5963f63ebe (diff)
parentc6b411ac34e80505517bf120153017ec42943d4e (diff)
Merge pull request 'master' (#7) from grunfink/snac2:master into main
Reviewed-on: https://codeberg.org/byte/snac2/pulls/7
Diffstat (limited to 'httpd.c')
-rw-r--r--httpd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/httpd.c b/httpd.c
index a8cd849..f46cfca 100644
--- a/httpd.c
+++ b/httpd.c
@@ -1,5 +1,5 @@
/* snac - A simple, minimalistic ActivityPub instance */
-/* copyright (c) 2022 - 2025 grunfink et al. / MIT license */
+/* copyright (c) 2022 - 2026 grunfink et al. / MIT license */
#include "xs.h"
#include "xs_io.h"
@@ -257,7 +257,7 @@ int server_get_handler(xs_dict *req, const char *q_path,
else {
xs *page = xs_fmt("?t=%s", t);
xs *title = xs_fmt(L("Search results for tag #%s"), t);
- *body = html_timeline(NULL, tl, 0, skip, show, more, title, page, 0, NULL);
+ *body = html_timeline(NULL, tl, 0, skip, show, more, title, page, 0, NULL, 0);
}
}
else
@@ -265,7 +265,7 @@ int server_get_handler(xs_dict *req, const char *q_path,
/** instance timeline **/
xs *tl = timeline_instance_list(0, 30);
*body = html_timeline(NULL, tl, 0, 0, 0, 0,
- L("Recent posts by users in this instance"), NULL, 0, NULL);
+ L("Recent posts by users in this instance"), NULL, 0, NULL, 0);
}
else
*body = greeting_html();