diff options
Diffstat (limited to 'tools/notify-dns-slaves.c')
-rw-r--r-- | tools/notify-dns-slaves.c | 6 |
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); |