From 6dca0164003c0ab05d62354b6704ff2ff8a9d13e Mon Sep 17 00:00:00 2001 From: Binbin Date: Fri, 9 Feb 2024 11:04:47 +0800 Subject: [PATCH] fix typo --- src/t_list.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/t_list.c b/src/t_list.c index eb471d9f0d3..2eeada63b37 100644 --- a/src/t_list.c +++ b/src/t_list.c @@ -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);