From 98c966c18e46deea5e16e06f7adf7e73c3496627 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Sat, 21 Jun 2008 00:25:01 +0000 Subject: Updates so that the zone is what's sent out. --- tools/notify-dns-slaves.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tools/notify-dns-slaves.c') 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); -- cgit v1.2.3