diff options
| author | Alexandre Oliva <oliva@gnu.org> | 2025-02-06 09:04:36 +0100 |
|---|---|---|
| committer | default <nobody@localhost> | 2025-02-06 09:04:36 +0100 |
| commit | 8e1a2c5ff92d01789e02980f2e36c8808c8ea033 (patch) | |
| tree | 4502578f8dbd5e4a9e383cdd54875fb46daf9f7a /httpd.c | |
| parent | 2b28fe814271eaa0b4a29457b364abd446d728c2 (diff) | |
Merged 53ad5cdf0371fc068fa03bf287fc94be.
Diffstat (limited to 'httpd.c')
| -rw-r--r-- | httpd.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -219,7 +219,7 @@ int server_get_handler(xs_dict *req, const char *q_path, if (xs_type(q_vars) == XSTYPE_DICT && (t = xs_dict_get(q_vars, "t"))) { /** search by tag **/ int skip = 0; - int show = xs_number_get(xs_dict_get(srv_config, "max_timeline_entries")); + int show = xs_number_get(xs_dict_get_def(srv_config, "def_timeline_entries", "50")); const char *v; if ((v = xs_dict_get(q_vars, "skip")) != NULL) |