From 1eb76bf4b5d39fa9ea28eabe886c8dd1b75210a5 Mon Sep 17 00:00:00 2001 From: zhujian Date: Thu, 6 Aug 2020 15:22:10 +0800 Subject: [PATCH] add a missing 'n' in comment --- src/adlist.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/adlist.c b/src/adlist.c index 0fedc0729..0b9a44e17 100644 --- a/src/adlist.c +++ b/src/adlist.c @@ -217,8 +217,8 @@ void listRewindTail(list *list, listIter *li) { * listDelNode(), but not to remove other elements. * * The function returns a pointer to the next element of the list, - * or NULL if there are no more elements, so the classical usage patter - * is: + * or NULL if there are no more elements, so the classical usage + * pattern is: * * iter = listGetIterator(list,); * while ((node = listNext(iter)) != NULL) {