commit 20f279724bc851d5e6b52144ce9a6ba987d5fc5d from: Omar Polo date: Mon Jun 19 18:20:02 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 - b061482840b244c4645851c4a02a9ce9723b9fc5 commit + 20f279724bc851d5e6b52144ce9a6ba987d5fc5d blob - 5ef647901c4a642a50747f22cc3093323a84337f blob + 83c2090733aa8f9c295326ceac9aed5fc1cf7ae4 --- gotwebd/parse.y +++ gotwebd/parse.y @@ -399,7 +399,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;