Skip to content

Commit

Permalink
Fix a spelling mistake of comments in defragDictBucketCallback
Browse files Browse the repository at this point in the history
  • Loading branch information
fulei committed Oct 16, 2019
1 parent 0def46a commit b8bdb0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/defrag.c
Original file line number Diff line number Diff line change
Expand Up @@ -847,7 +847,7 @@ void defragScanCallback(void *privdata, const dictEntry *de) {
server.stat_active_defrag_scanned++;
}

/* Defrag scan callback for each hash table bicket,
/* Defrag scan callback for each hash table bucket,
* used in order to defrag the dictEntry allocations. */
void defragDictBucketCallback(void *privdata, dictEntry **bucketref) {
UNUSED(privdata); /* NOTE: this function is also used by both activeDefragCycle and scanLaterHash, etc. don't use privdata */
Expand Down

0 comments on commit b8bdb0d

Please sign in to comment.