openbsd-ports/sysutils/nut/patches/patch-clients_multimon_c
marcm dd73fa6eb5 * Update to 1.0.0
* CGIs are now a SUBPACKAGE and work with chrooted Apache

* Make myself MAINTAINER

* Mark conflict with upad-2.0

ok naddy@ and nate@
2002-10-14 16:14:33 +00:00

22 lines
672 B
Plaintext

$OpenBSD: patch-clients_multimon_c,v 1.1 2002/10/14 16:14:33 marcm Exp $
--- clients/multimon.c.orig Mon Sep 30 10:58:30 2002
+++ clients/multimon.c Mon Sep 30 10:58:43 2002
@@ -323,7 +323,7 @@ static void readconf(void)
{
char fn[SMALLBUF];
- snprintf(fn, sizeof(fn), "%s/multimon.conf", CONFPATH);
+ snprintf(fn, sizeof(fn), "%s/multimon.conf", CGICONFPATH);
parseconf(fn, multimon_conf_args, multimon_conf_error);
}
@@ -376,7 +376,7 @@ static void do_hosts(void)
{
char fn[SMALLBUF];
- snprintf(fn, sizeof(fn), "%s/hosts.conf", CONFPATH);
+ snprintf(fn, sizeof(fn), "%s/hosts.conf", CGICONFPATH);
parseconf(fn, hosts_conf_args, hosts_conf_error);
}