]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
initalise str
authorMark Andrews <marka@isc.org>
Thu, 1 Aug 2002 06:51:32 +0000 (06:51 +0000)
committerMark Andrews <marka@isc.org>
Thu, 1 Aug 2002 06:51:32 +0000 (06:51 +0000)
bin/named/notify.c

index 9d6343812bf34598879125b305f6603241d576b9..b218b94bf9979bfd3c2d594b59452ab088992dd7 100644 (file)
@@ -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 <config.h>
 
@@ -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;