summaryrefslogtreecommitdiff
path: root/tools/notify-dns-slaves.c
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2008-06-21 00:25:01 +0000
committerStef Walter <stef@memberwebs.com>2008-06-21 00:25:01 +0000
commit98c966c18e46deea5e16e06f7adf7e73c3496627 (patch)
tree025177c7980807db76d0e9ad6139aeb0171675f5 /tools/notify-dns-slaves.c
parent270aa3c08a296dc5f628d2180f016d2a251be5e8 (diff)
Updates so that the zone is what's sent out.
Diffstat (limited to 'tools/notify-dns-slaves.c')
-rw-r--r--tools/notify-dns-slaves.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/notify-dns-slaves.c b/tools/notify-dns-slaves.c
index 956fdac..83ce910 100644
--- a/tools/notify-dns-slaves.c
+++ b/tools/notify-dns-slaves.c
@@ -148,9 +148,9 @@ vmessage(int level, int erno, const char* msg, va_list ap)
char buf[MAX_MSGLEN];
size_t len;
-/* if(debug_level < level)
+ if(debug_level < level)
return;
-*/
+
assert (msg);
strncpy (buf, msg, MAX_MSGLEN);
@@ -166,7 +166,7 @@ vmessage(int level, int erno, const char* msg, va_list ap)
}
/* Either to syslog or stderr */
-/* if (is_helper && level != LOG_DEBUG) */
+ if (is_helper && level != LOG_DEBUG)
vsyslog (level, buf, ap);
vwarnx (buf, ap);