2004-02-09 01:48:48 -05:00
|
|
|
$OpenBSD: patch-clients_cgilib_c,v 1.3 2004/02/09 06:48:48 marcm Exp $
|
|
|
|
--- clients/cgilib.c.orig 2004-01-03 14:55:07.000000000 -0800
|
|
|
|
+++ clients/cgilib.c 2004-01-03 14:55:22.000000000 -0800
|
|
|
|
@@ -162,7 +162,7 @@ int checkhost(const char *host, char **d
|
|
|
|
if (!host)
|
2002-10-14 12:14:33 -04:00
|
|
|
return 0; /* deny null hostnames */
|
|
|
|
|
2004-02-09 01:48:48 -05:00
|
|
|
- snprintf(fn, sizeof(fn), "%s/hosts.conf", confpath());
|
|
|
|
+ snprintf(fn, sizeof(fn), "%s/hosts.conf", cgiconfpath());
|
|
|
|
|
|
|
|
pconf_init(&ctx, cgilib_err);
|
2002-10-14 12:14:33 -04:00
|
|
|
|