diff options
| author | 2022-11-25 12:21:26 +0100 | |
|---|---|---|
| committer | 2022-11-25 12:21:26 +0100 | |
| commit | 9df1cb129e1702f1a271a948033447167c5c06d7 (patch) | |
| tree | 33fffcd0aa1c61764342e11777edca3632a47e41 /html.c | |
| parent | On Update + Person, call object_del() before actor_add(). (diff) | |
| download | snac2-9df1cb129e1702f1a271a948033447167c5c06d7.tar.gz snac2-9df1cb129e1702f1a271a948033447167c5c06d7.tar.xz snac2-9df1cb129e1702f1a271a948033447167c5c06d7.zip | |
Use macro XS_ALL were possible.
Diffstat (limited to 'html.c')
| -rw-r--r-- | html.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -1008,7 +1008,7 @@ int html_get_handler(d_char *req, char *q_path, char **body, int *b_size, char * | |||
| 1008 | status = 200; | 1008 | status = 200; |
| 1009 | } | 1009 | } |
| 1010 | else { | 1010 | else { |
| 1011 | xs *list = local_list(&snac, 0xfffffff); | 1011 | xs *list = local_list(&snac, XS_ALL); |
| 1012 | 1012 | ||
| 1013 | *body = html_timeline(&snac, list, 1); | 1013 | *body = html_timeline(&snac, list, 1); |
| 1014 | *b_size = strlen(*body); | 1014 | *b_size = strlen(*body); |
| @@ -1034,7 +1034,7 @@ int html_get_handler(d_char *req, char *q_path, char **body, int *b_size, char * | |||
| 1034 | else { | 1034 | else { |
| 1035 | snac_debug(&snac, 1, xs_fmt("building timeline")); | 1035 | snac_debug(&snac, 1, xs_fmt("building timeline")); |
| 1036 | 1036 | ||
| 1037 | xs *list = timeline_list(&snac, 0xfffffff); | 1037 | xs *list = timeline_list(&snac, XS_ALL); |
| 1038 | 1038 | ||
| 1039 | *body = html_timeline(&snac, list, 0); | 1039 | *body = html_timeline(&snac, list, 0); |
| 1040 | *b_size = strlen(*body); | 1040 | *b_size = strlen(*body); |