Skip to content

Commit

Permalink
Update jwHash.c
Browse files Browse the repository at this point in the history
  • Loading branch information
liudf0716 authored Apr 21, 2017
1 parent ad68bc0 commit 3bde192
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions jwHash.c
Original file line number Diff line number Diff line change
Expand Up @@ -278,8 +278,7 @@ HASHRESULT add_int_by_str( jwHashTable *table, char *key, long int value )

HASHRESULT hash_iterator(jwHashTable *table, process_hash_value_callback process_cb, HASHVALTAG type)
{
int i = 0;
for(; i < table->buckets; i++) {
for(int i = 0; i < table->buckets; i++) {
jwHashEntry *entry = table->bucket[i];
while(entry) {
switch(type) {
Expand Down

0 comments on commit 3bde192

Please sign in to comment.