INN commit: trunk/backends (actsync.c)
INN Commit
Russ_Allbery at isc.org
Sun May 25 17:02:05 UTC 2008
Date: Sunday, May 25, 2008 @ 10:02:04
Author: iulius
Revision: 7847
Fix a bug in actsync: the behaviour of the -t flag was the opposite
of what it should have been.
Modified:
trunk/backends/actsync.c
-----------+
actsync.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Modified: actsync.c
===================================================================
--- actsync.c 2008-05-24 19:05:16 UTC (rev 7846)
+++ actsync.c 2008-05-25 17:02:04 UTC (rev 7847)
@@ -306,7 +306,7 @@
int quiet_host2 = 0; /* 1 => -q 2 or -q 12 or -q 21 given */
int s_flag = 0; /* max group size (length), 0 => do not check */
int t_host1_flag = 0; /* 1 => -t 1 or -t 12 or -t 21 given */
-int t_host2_flag = 1; /* 1 => -t 2 or -d 12 or -t 21 given */
+int t_host2_flag = 1; /* 1 => -t 2 or -t 12 or -t 21 given */
int no_new_hier = 0; /* 1 => -T; no new hierarchies */
int host2_hilow_newgrp = 0; /* 1 => use host2 hi/low on new groups */
int host2_hilow_all = 0; /* 1 => use host2 hi/low on all groups */
@@ -903,7 +903,7 @@
}
/* look for only a bad top level element if the proper -t was given */
- if (TOP_CHECK(hostid)) {
+ if (!TOP_CHECK(hostid)) {
/* look for a '.' in the name */
if (strcmp(cur->name, "junk") != 0 &&
More information about the inn-committers
mailing list