summaryrefslogtreecommitdiff
path: root/html.c
diff options
context:
space:
mode:
Diffstat (limited to 'html.c')
-rw-r--r--html.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/html.c b/html.c
index 13615b9..c12aea4 100644
--- a/html.c
+++ b/html.c
@@ -3327,7 +3327,8 @@ int html_get_handler(const xs_dict *req, const char *q_path,
3327 cache = 0; 3327 cache = 0;
3328 3328
3329 int skip = 0; 3329 int skip = 0;
3330 int def_show = xs_number_get(xs_dict_get_def(srv_config, "def_timeline_entries", "50")); 3330 int def_show = xs_number_get(xs_dict_get_def(srv_config, "def_timeline_entries",
3331 xs_dict_get_def(srv_config, "max_timeline_entries", "50")));
3331 int show = def_show; 3332 int show = def_show;
3332 3333
3333 if ((v = xs_dict_get(q_vars, "skip")) != NULL) 3334 if ((v = xs_dict_get(q_vars, "skip")) != NULL)