mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 05:57:52 +00:00
another missing NULL initialization
This commit is contained in:
parent
20606121ea
commit
c87a3af2d6
@ -15,7 +15,7 @@
|
||||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: server.c,v 1.268 2000/12/05 01:41:29 gson Exp $ */
|
||||
/* $Id: server.c,v 1.269 2000/12/05 17:23:45 gson Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
@ -2287,7 +2287,7 @@ ns_listenelt_fromconfig(dns_c_lstnon_t *celt, dns_c_ctx_t *cctx,
|
||||
isc_result_t
|
||||
ns_server_dumpstats(ns_server_t *server) {
|
||||
isc_result_t result;
|
||||
dns_zone_t *zone;
|
||||
dns_zone_t *zone, *next;
|
||||
isc_stdtime_t now;
|
||||
FILE *fp = NULL;
|
||||
int i;
|
||||
@ -2310,7 +2310,7 @@ ns_server_dumpstats(ns_server_t *server) {
|
||||
zone = NULL;
|
||||
for (result = dns_zone_first(server->zonemgr, &zone);
|
||||
result == ISC_R_SUCCESS;
|
||||
result = dns_zone_next(zone, &zone))
|
||||
next = NULL, result = dns_zone_next(zone, &next), zone = next)
|
||||
{
|
||||
isc_uint64_t *zonestats = dns_zone_getstatscounters(zone);
|
||||
if (zonestats != NULL) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user