diff options
author | Omar Polo <op@omarpolo.com> | 2021-07-19 11:15:44 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2021-07-19 11:15:44 +0000 |
commit | 735336b21edbca50b1650df091ed2dad47f96c27 (patch) | |
tree | d6723f14ee206ba4d3961e2151f0c8b207bc62ab /gmid.c | |
parent | abc8801d6064304c627cd75ed1f8c585d51346de (diff) |
unbreak configless mode
An un-initialized field in the configless code path leads to a crash
on the first request.
Diffstat (limited to 'gmid.c')
-rw-r--r-- | gmid.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -524,6 +524,7 @@ setup_configless(int argc, char **argv, const char *cgi) TAILQ_INSERT_HEAD(&hosts, host, vhosts); loc = xcalloc(1, sizeof(*loc)); + loc->fcgi = -1; TAILQ_INSERT_HEAD(&host->locations, loc, locations); serve(argc, argv, NULL); |