diff options
Diffstat (limited to 'cgit.c')
| -rw-r--r-- | cgit.c | 4 | 
1 files changed, 2 insertions, 2 deletions
| @@ -315,7 +315,7 @@ static void querystring_cb(const char *name, const char *value) | |||
| 315 | ctx.qry.name = xstrdup(value); | 315 | ctx.qry.name = xstrdup(value); | 
| 316 | } else if (!strcmp(name, "mimetype")) { | 316 | } else if (!strcmp(name, "mimetype")) { | 
| 317 | ctx.qry.mimetype = xstrdup(value); | 317 | ctx.qry.mimetype = xstrdup(value); | 
| 318 | } else if (!strcmp(name, "s")){ | 318 | } else if (!strcmp(name, "s")) { | 
| 319 | ctx.qry.sort = xstrdup(value); | 319 | ctx.qry.sort = xstrdup(value); | 
| 320 | } else if (!strcmp(name, "showmsg")) { | 320 | } else if (!strcmp(name, "showmsg")) { | 
| 321 | ctx.qry.showmsg = atoi(value); | 321 | ctx.qry.showmsg = atoi(value); | 
| @@ -653,7 +653,7 @@ void print_repolist(FILE *f, struct cgit_repolist *list, int start) | |||
| 653 | { | 653 | { | 
| 654 | int i; | 654 | int i; | 
| 655 | 655 | ||
| 656 | for(i = start; i < list->count; i++) | 656 | for (i = start; i < list->count; i++) | 
| 657 | print_repo(f, &list->repos[i]); | 657 | print_repo(f, &list->repos[i]); | 
| 658 | } | 658 | } | 
| 659 | 659 | ||
