src/lib/hash_table.c in trema-0.2.5 vs src/lib/hash_table.c in trema-0.2.6
- old
+ new
@@ -349,10 +349,10 @@
if ( iterator->bucket_index == NULL ) {
return NULL;
}
dlist_element *e = iterator->element;
- if ( e == NULL ) {
+ if ( e == NULL ) {
if ( iterator->next_bucket_index != NULL ) {
iterator->bucket_index = iterator->next_bucket_index;
iterator->next_bucket_index = iterator->next_bucket_index->next;
int bucket_index = ( int ) ( unsigned long ) iterator->bucket_index->data;
assert( iterator->buckets[ bucket_index ] != NULL );