Browse Source

bug fix for hashtable resize

tags/1.3
Ralph Rönnquist 1 month ago
parent
commit
0c4c1ba39c
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      htable.c

+ 1
- 1
htable.c View File

@@ -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