summaryrefslogtreecommitdiff
path: root/httpd.c
diff options
context:
space:
mode:
authorGravatar grunfink2025-05-28 07:44:34 +0200
committerGravatar grunfink2025-05-28 07:44:34 +0200
commit859de583d9b575a830bab92a6379f77c70910a93 (patch)
tree6fb11ce4c6089939c155900644f1ca0b0de29b07 /httpd.c
parentNew function timeline_here(). (diff)
downloadpenes-snac2-859de583d9b575a830bab92a6379f77c70910a93.tar.gz
penes-snac2-859de583d9b575a830bab92a6379f77c70910a93.tar.xz
penes-snac2-859de583d9b575a830bab92a6379f77c70910a93.zip
Renamed timeline_to_rss() to rss_from_timeline().
Diffstat (limited to 'httpd.c')
-rw-r--r--httpd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/httpd.c b/httpd.c
index 6f7d69b..41b2515 100644
--- a/httpd.c
+++ b/httpd.c
@@ -244,7 +244,7 @@ int server_get_handler(xs_dict *req, const char *q_path,
244 if (!xs_is_null(accept) && strcmp(accept, "application/rss+xml") == 0) { 244 if (!xs_is_null(accept) && strcmp(accept, "application/rss+xml") == 0) {
245 xs *link = xs_fmt("%s/?t=%s", srv_baseurl, t); 245 xs *link = xs_fmt("%s/?t=%s", srv_baseurl, t);
246 246
247 *body = timeline_to_rss(NULL, tl, link, link, link); 247 *body = rss_from_timeline(NULL, tl, link, link, link);
248 *ctype = "application/rss+xml; charset=utf-8"; 248 *ctype = "application/rss+xml; charset=utf-8";
249 } 249 }
250 else { 250 else {