mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 14:07:59 +00:00
Merge branch 'master' of repo.isc.org:/proj/git/prod/bind9
This commit is contained in:
@@ -277,9 +277,10 @@ isc_ht_iter_next(isc_ht_iter_t *it) {
|
||||
|
||||
it->cur = it->cur->next;
|
||||
if (it->cur == NULL) {
|
||||
while (it->i < it->ht->size && it->ht->table[it->i] == NULL)
|
||||
do {
|
||||
it->i++;
|
||||
if (it->i < it->ht->size)
|
||||
} while (it->i < it->ht->size && it->ht->table[it->i] == NULL);
|
||||
if (it->i >= it->ht->size)
|
||||
return (ISC_R_NOMORE);
|
||||
it->cur = it->ht->table[it->i];
|
||||
}
|
||||
|
Reference in New Issue
Block a user