diff options
| author | 2025-02-06 09:04:36 +0100 | |
|---|---|---|
| committer | 2025-02-06 09:04:36 +0100 | |
| commit | 8e1a2c5ff92d01789e02980f2e36c8808c8ea033 (patch) | |
| tree | 4502578f8dbd5e4a9e383cdd54875fb46daf9f7a /html.c | |
| parent | Updated RELEASE_NOTES. (diff) | |
| download | snac2-8e1a2c5ff92d01789e02980f2e36c8808c8ea033.tar.gz snac2-8e1a2c5ff92d01789e02980f2e36c8808c8ea033.tar.xz snac2-8e1a2c5ff92d01789e02980f2e36c8808c8ea033.zip | |
Merged 53ad5cdf0371fc068fa03bf287fc94be.
Diffstat (limited to 'html.c')
| -rw-r--r-- | html.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -3306,7 +3306,7 @@ int html_get_handler(const xs_dict *req, const char *q_path, | |||
| 3306 | cache = 0; | 3306 | cache = 0; |
| 3307 | 3307 | ||
| 3308 | int skip = 0; | 3308 | int skip = 0; |
| 3309 | int def_show = xs_number_get(xs_dict_get(srv_config, "max_timeline_entries")); | 3309 | int def_show = xs_number_get(xs_dict_get_def(srv_config, "def_timeline_entries", "50")); |
| 3310 | int show = def_show; | 3310 | int show = def_show; |
| 3311 | 3311 | ||
| 3312 | if ((v = xs_dict_get(q_vars, "skip")) != NULL) | 3312 | if ((v = xs_dict_get(q_vars, "skip")) != NULL) |