2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

remove unneccessary call to notify_createmessage()

This commit is contained in:
Mark Andrews
2000-08-31 00:31:38 +00:00
parent 5a842a6fc3
commit 5ebcf506a1

View File

@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: zone.c,v 1.198 2000/08/29 03:45:48 marka Exp $ */
/* $Id: zone.c,v 1.199 2000/08/31 00:31:38 marka Exp $ */
#include <config.h>
@@ -2021,7 +2021,6 @@ notify_send(dns_notify_t *notify) {
dns_adbaddrinfo_t *ai;
isc_sockaddr_t dst;
isc_result_t result;
dns_message_t *message = NULL;
dns_notify_t *new = NULL;
/*
@@ -2031,14 +2030,6 @@ notify_send(dns_notify_t *notify) {
REQUIRE(ISLOCKED(&notify->zone->lock));
#ifdef NOMINUM_PUBLIC
result = notify_createmessage(notify->zone, &message);
#else /* NOMINUM_PUBLIC */
result = notify_createmessage(notify->zone, notify->flags, &message);
#endif /* NOMINUM_PUBLIC */
if (result != ISC_R_SUCCESS)
return;
for (ai = ISC_LIST_HEAD(notify->find->list);
ai != NULL;
ai = ISC_LIST_NEXT(ai, publink)) {
@@ -2062,7 +2053,6 @@ notify_send(dns_notify_t *notify) {
if (new != NULL)
notify_destroy(new);
notify_destroy(notify);
dns_message_destroy(&message);
}
#ifndef NOMINUM_PUBLIC