Skip to content

Commit

Permalink
fix: Update hashtable.c
Browse files Browse the repository at this point in the history
Signed-off-by: 烈香 <[email protected]>
  • Loading branch information
hengyoush authored Jan 14, 2025
1 parent e9dcb59 commit b6ee3f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hashtable.c
Original file line number Diff line number Diff line change
Expand Up @@ -2183,7 +2183,7 @@ int hashtableLongestBucketChain(hashtable *ht) {
int chainlen = 0;
bucket *b = &ht->tables[table][i];
while (b->chained) {
++chainlen
++chainlen;
b = getChildBucket(b);
}
if (chainlen > maxlen) {
Expand Down

0 comments on commit b6ee3f3

Please sign in to comment.