openbsd-ports/sysutils/nut/patches/patch-clients_cgilib_c

13 lines
459 B
Plaintext
Raw Normal View History

$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)
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);