show up to 100 search results

This commit is contained in:
Andreas Öman 2008-02-13 07:15:21 +00:00
parent 448fe2faf9
commit 882bcc3b33

View file

@ -1819,8 +1819,8 @@ page_search(http_connection_t *hc, const char *remain, void *opaque)
ev[c++] = e;
qsort(ev, c, sizeof(event_t *), eventcmp);
if(c > 25)
c = 25;
if(c > 100)
c = 100;
memset(&day, -1, sizeof(struct tm));
for(k = 0; k < c; k++) {