commit 04833bad8b901b044bbbf61cb813c49ffee4f8b1 from: Omar Polo via: Thomas Adam date: Thu Jun 22 13:10:34 2023 UTC 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". commit - 7fed8fa426806e627fcf1e344e4ce134b17a0474 commit + 04833bad8b901b044bbbf61cb813c49ffee4f8b1 blob - b42b127d69d3375ec7b60d13ece2d83c19a030b5 blob + 3141033d45e0ffee23a98bd4f3343dc3b12af2d1 --- 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;