Browse Source

bug fix for hashtable resize

wip/readerthreads
Ralph Rönnquist 7 months ago
parent
commit
0c4c1ba39c
  1. 2
      htable.c

2
htable.c

@ -87,7 +87,7 @@ static unsigned char *htnext(htable *table,int *i) {
unsigned char **e = table->data + table->size;
for ( ; p < e; p++ ) {
(*i) += 1;
if ( *p != 0 || *p != (unsigned char*)1 ) {
if ( *p != 0 && *p != (unsigned char*)1 ) {
return *p;
}
}

Loading…
Cancel
Save