diff options
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, | |||
| 219 | if (xs_type(q_vars) == XSTYPE_DICT && (t = xs_dict_get(q_vars, "t"))) { | 219 | if (xs_type(q_vars) == XSTYPE_DICT && (t = xs_dict_get(q_vars, "t"))) { |
| 220 | /** search by tag **/ | 220 | /** search by tag **/ |
| 221 | int skip = 0; | 221 | int skip = 0; |
| 222 | int show = xs_number_get(xs_dict_get(srv_config, "max_timeline_entries")); | 222 | int show = xs_number_get(xs_dict_get_def(srv_config, "def_timeline_entries", "50")); |
| 223 | const char *v; | 223 | const char *v; |
| 224 | 224 | ||
| 225 | if ((v = xs_dict_get(q_vars, "skip")) != NULL) | 225 | if ((v = xs_dict_get(q_vars, "skip")) != NULL) |