mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 22:15:20 +00:00
loop_cnt test was wrong way around.
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
* 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>
|
||||
|
||||
@@ -1347,7 +1347,7 @@ load(dns_loadctx_t **ctxp) {
|
||||
*/
|
||||
if ((target.length - target.used) < MINTSIZ)
|
||||
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.
|
||||
|
Reference in New Issue
Block a user