summaryrefslogtreecommitdiff
path: root/mastoapi.c
diff options
context:
space:
mode:
authorGravatar ltning2025-02-04 18:38:41 +0000
committerGravatar ltning2025-02-04 18:38:41 +0000
commit114ed37f9c3e57a840155b9b71fa9cdf0d7ec8d6 (patch)
tree2a7747beb4d10fef57653ac1b91aed9469819dcd /mastoapi.c
parentMerge branch 'master' into master (diff)
parentOnly split real strings in xs_split_n(). (diff)
downloadsnac2-114ed37f9c3e57a840155b9b71fa9cdf0d7ec8d6.tar.gz
snac2-114ed37f9c3e57a840155b9b71fa9cdf0d7ec8d6.tar.xz
snac2-114ed37f9c3e57a840155b9b71fa9cdf0d7ec8d6.zip
Merge branch 'master' into master
Diffstat (limited to 'mastoapi.c')
-rw-r--r--mastoapi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mastoapi.c b/mastoapi.c
index 54b4333..3c445c2 100644
--- a/mastoapi.c
+++ b/mastoapi.c
@@ -1676,7 +1676,7 @@ int mastoapi_get_handler(const xs_dict *req, const char *q_path,
1676 else 1676 else
1677 if (strcmp(opt, "statuses") == 0) { /** **/ 1677 if (strcmp(opt, "statuses") == 0) { /** **/
1678 /* the public list of posts of a user */ 1678 /* the public list of posts of a user */
1679 xs *timeline = timeline_simple_list(&snac2, "public", 0, 256); 1679 xs *timeline = timeline_simple_list(&snac2, "public", 0, 256, NULL);
1680 xs_list *p = timeline; 1680 xs_list *p = timeline;
1681 const xs_str *v; 1681 const xs_str *v;
1682 1682