diff options
Diffstat (limited to 'html.c')
| -rw-r--r-- | html.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -1035,7 +1035,7 @@ int html_get_handler(d_char *req, char *q_path, char **body, int *b_size, char * | |||
| 1035 | } | 1035 | } |
| 1036 | else { | 1036 | else { |
| 1037 | xs *list = timeline_list(&snac, "public", skip, show); | 1037 | xs *list = timeline_list(&snac, "public", skip, show); |
| 1038 | xs *next = timeline_list(&snac, "public", skip + show, show); | 1038 | xs *next = timeline_list(&snac, "public", skip + show, 1); |
| 1039 | 1039 | ||
| 1040 | *body = html_timeline(&snac, list, 1, skip, show, xs_list_len(next)); | 1040 | *body = html_timeline(&snac, list, 1, skip, show, xs_list_len(next)); |
| 1041 | 1041 | ||
| @@ -1064,7 +1064,7 @@ int html_get_handler(d_char *req, char *q_path, char **body, int *b_size, char * | |||
| 1064 | snac_debug(&snac, 1, xs_fmt("building timeline")); | 1064 | snac_debug(&snac, 1, xs_fmt("building timeline")); |
| 1065 | 1065 | ||
| 1066 | xs *list = timeline_list(&snac, "private", skip, show); | 1066 | xs *list = timeline_list(&snac, "private", skip, show); |
| 1067 | xs *next = timeline_list(&snac, "private", skip + show, show); | 1067 | xs *next = timeline_list(&snac, "private", skip + show, 1); |
| 1068 | 1068 | ||
| 1069 | *body = html_timeline(&snac, list, 0, skip, show, xs_list_len(next)); | 1069 | *body = html_timeline(&snac, list, 0, skip, show, xs_list_len(next)); |
| 1070 | 1070 | ||