diff options
author | Stef Walter <stef@memberwebs.com> | 2008-06-21 00:25:01 +0000 |
---|---|---|
committer | Stef Walter <stef@memberwebs.com> | 2008-06-21 00:25:01 +0000 |
commit | 98c966c18e46deea5e16e06f7adf7e73c3496627 (patch) | |
tree | 025177c7980807db76d0e9ad6139aeb0171675f5 /tools | |
parent | 270aa3c08a296dc5f628d2180f016d2a251be5e8 (diff) |
Updates so that the zone is what's sent out.
Diffstat (limited to 'tools')
-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); |