mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-23 18:49:54 +00:00
missing NULL initialization
This commit is contained in:
parent
1fe2d5bb6e
commit
20606121ea
@ -15,7 +15,7 @@
|
|||||||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: server.c,v 1.267 2000/12/01 23:49:49 gson Exp $ */
|
/* $Id: server.c,v 1.268 2000/12/05 01:41:29 gson Exp $ */
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
@ -2307,6 +2307,7 @@ ns_server_dumpstats(ns_server_t *server) {
|
|||||||
server->querystats[i]);
|
server->querystats[i]);
|
||||||
|
|
||||||
dns_zonemgr_lockconf(server->zonemgr, isc_rwlocktype_read);
|
dns_zonemgr_lockconf(server->zonemgr, isc_rwlocktype_read);
|
||||||
|
zone = NULL;
|
||||||
for (result = dns_zone_first(server->zonemgr, &zone);
|
for (result = dns_zone_first(server->zonemgr, &zone);
|
||||||
result == ISC_R_SUCCESS;
|
result == ISC_R_SUCCESS;
|
||||||
result = dns_zone_next(zone, &zone))
|
result = dns_zone_next(zone, &zone))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user