2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-29 13:38:26 +00:00

added another INSIST() to dns_dbiterator_pause() as suggested by Bob

This commit is contained in:
Andreas Gustafsson 2001-01-12 20:11:28 +00:00
parent 2883651930
commit d94b209b95

View File

@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: rbtdb.c,v 1.142 2001/01/12 18:56:40 gson Exp $ */
/* $Id: rbtdb.c,v 1.143 2001/01/12 20:11:28 gson Exp $ */
/*
* Principal Author: Bob Halley
@ -4667,6 +4667,7 @@ dbiterator_pause(dns_dbiterator_t *iterator) {
return (ISC_R_SUCCESS);
if (node != NULL) {
INSIST(rbtdbiter->tree_locked);
LOCK(&rbtdb->node_locks[node->locknum].lock);
new_reference(rbtdb, node);
UNLOCK(&rbtdb->node_locks[node->locknum].lock);