mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 14:07:59 +00:00
another missing NULL initialization
This commit is contained in:
@@ -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.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>
|
#include <config.h>
|
||||||
|
|
||||||
@@ -2287,7 +2287,7 @@ ns_listenelt_fromconfig(dns_c_lstnon_t *celt, dns_c_ctx_t *cctx,
|
|||||||
isc_result_t
|
isc_result_t
|
||||||
ns_server_dumpstats(ns_server_t *server) {
|
ns_server_dumpstats(ns_server_t *server) {
|
||||||
isc_result_t result;
|
isc_result_t result;
|
||||||
dns_zone_t *zone;
|
dns_zone_t *zone, *next;
|
||||||
isc_stdtime_t now;
|
isc_stdtime_t now;
|
||||||
FILE *fp = NULL;
|
FILE *fp = NULL;
|
||||||
int i;
|
int i;
|
||||||
@@ -2310,7 +2310,7 @@ ns_server_dumpstats(ns_server_t *server) {
|
|||||||
zone = NULL;
|
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))
|
next = NULL, result = dns_zone_next(zone, &next), zone = next)
|
||||||
{
|
{
|
||||||
isc_uint64_t *zonestats = dns_zone_getstatscounters(zone);
|
isc_uint64_t *zonestats = dns_zone_getstatscounters(zone);
|
||||||
if (zonestats != NULL) {
|
if (zonestats != NULL) {
|
||||||
|
Reference in New Issue
Block a user