From a1d4da0dc791f6e32695f008fbaca2003eb88a7e Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Thu, 1 Aug 2002 06:51:32 +0000 Subject: [PATCH] initalise str --- bin/named/notify.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/bin/named/notify.c b/bin/named/notify.c index 9d6343812b..b218b94bf9 100644 --- a/bin/named/notify.c +++ b/bin/named/notify.c @@ -15,7 +15,7 @@ * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -/* $Id: notify.c,v 1.27 2002/07/29 05:15:32 marka Exp $ */ +/* $Id: notify.c,v 1.28 2002/08/01 06:51:32 marka Exp $ */ #include @@ -128,8 +128,9 @@ ns_notify_start(ns_client_t *client) { case dns_zone_master: case dns_zone_slave: case dns_zone_stub: /* Allow dialup passive to work. */ - notify_log(client, ISC_LOG_INFO, "received notify for zone '%s'", - str); + dns_name_format(zonename, str, sizeof(str)); + notify_log(client, ISC_LOG_INFO, + "received notify for zone '%s'", str); respond(client, dns_zone_notifyreceive(zone, ns_client_getsockaddr(client), request)); break;