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

loop_cnt test was wrong way around.

This commit is contained in:
Mark Andrews
2000-11-23 05:04:54 +00:00
parent 4e29e682f6
commit 0f9bbc9ea2

View File

@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/ */
/* $Id: master.c,v 1.80 2000/11/15 19:06:04 gson Exp $ */ /* $Id: master.c,v 1.81 2000/11/23 05:04:54 marka Exp $ */
#include <config.h> #include <config.h>
@@ -1347,7 +1347,7 @@ load(dns_loadctx_t **ctxp) {
*/ */
if ((target.length - target.used) < MINTSIZ) if ((target.length - target.used) < MINTSIZ)
COMMITALL; COMMITALL;
} while (!done && (ctx->loop_cnt == 0 || ctx->loop_cnt < loop_cnt++)); } while (!done && (ctx->loop_cnt == 0 || loop_cnt++ < ctx->loop_cnt));
/* /*
* Commit what has not yet been committed. * Commit what has not yet been committed.