commit 7b2d743260095ea97babde51ab6155be2fb92dbb from: Omar Polo date: Sat May 01 12:17:42 2021 UTC move pidfile & cgi to global vars commit - 7aa925863334a2e568bdeaa6c387488b32f333ac commit + 7b2d743260095ea97babde51ab6155be2fb92dbb blob - dda03832b0589c754d1d907b11520e5e6167eae1 blob + bdf5bd930de38dad49d7bbf63fca5282d7b6410c --- gmid.c +++ gmid.c @@ -32,7 +32,7 @@ int sock4, sock6; struct imsgbuf logibuf, exibuf, servibuf[PROC_MAX]; -const char *config_path, *certs_dir, *hostname; +const char *config_path, *certs_dir, *hostname, *pidfile, *cgi; struct conf conf; @@ -497,7 +497,6 @@ main(int argc, char **argv) struct imsgbuf exibuf; int ch, conftest = 0, configless = 0; int pidfd, old_ipv6, old_port; - const char *pidfile = NULL, *cgi = NULL; init_config();