Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
enjoy-binbin committed Feb 9, 2024
1 parent ec33de1 commit 6dca016
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/t_list.c
Original file line number Diff line number Diff line change
Expand Up @@ -1154,7 +1154,7 @@ void lmoveGenericCommand(client *c, int wherefrom, int whereto) {
value = listTypePop(sobj,wherefrom);
serverAssert(value); /* assertion for valgrind (avoid NPD) */
listElementsRemoved(c,touchedkey,wherefrom,sobj,1,1,&deleted);
/* In self-referential case, dobj may be deleted, neet to reset to NULL. */
/* In self-referential case, dobj may be deleted, need to reset to NULL. */
if (sobj == dobj && deleted) dobj = NULL;
lmoveHandlePush(c,c->argv[2],dobj,value,whereto);

Expand Down

0 comments on commit 6dca016

Please sign in to comment.