12 lines
344 B
Text
12 lines
344 B
Text
Index: clients/cgilib.c
|
|
--- clients/cgilib.c.orig
|
|
+++ clients/cgilib.c
|
|
@@ -165,7 +165,7 @@ int checkhost(const char *host, char **desc)
|
|
if (!host)
|
|
return 0; /* deny null hostnames */
|
|
|
|
- snprintf(fn, sizeof(fn), "%s/hosts.conf", confpath());
|
|
+ snprintf(fn, sizeof(fn), "%s/hosts.conf", cgiconfpath());
|
|
|
|
pconf_init(&ctx, cgilib_err);
|
|
|