From 49193e9d5d7088d02a8b0ff5873b12f4a5560c33 Mon Sep 17 00:00:00 2001 From: Michal Humpula Date: Tue, 9 Dec 2014 13:08:36 +0100 Subject: [PATCH] bind-plugin: fix zones iteratation upper limit --- src/bind.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bind.c b/src/bind.c index d7b8c08f..59eb2491 100644 --- a/src/bind.c +++ b/src/bind.c @@ -745,7 +745,7 @@ static int bind_xml_stats_handle_zone (int version, xmlDoc *doc, /* {{{ */ xmlFree (zone_name); zone_name = NULL; - if (j >= views_num) + if (j >= views->zones_num) { xmlXPathFreeObject (path_obj); return (0); -- 2.30.2