Commit Diff
- Commit:
04833bad8b901b044bbbf61cb813c49ffee4f8b1
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
- Message:
- gotwebd.conf: unbreak max_repos_display 0 in 1a0c81fb61 I've added a range check too strict for max_repos_display, as zero is allowed and means "show all the repositories".
- Actions:
- Patch | Tree
--- gotwebd/parse.y +++ gotwebd/parse.y @@ -400,7 +400,7 @@ serveropts1 : REPOS_PATH STRING { new_srv->respect_exportok = $2; } | MAX_REPOS_DISPLAY NUMBER { - if ($2 <= 0) { + if ($2 < 0) { yyerror("max_repos_display is too small: %lld", $2); YYERROR;