summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2013-11-05 17:23:11 +0100
committerantirez <antirez@gmail.com>2013-11-05 17:25:34 +0100
commit3a66e0c157771f2f542949969e05b968be2b744d (patch)
tree8d25c8f369cd4d927df9e5329e9d96e17bdb511e
parent060d56e7eb96ee58bf5e5881fdfb16839f0c65a5 (diff)
downloadredis-3a66e0c157771f2f542949969e05b968be2b744d.tar.gz
Fixed typo in parseScanCursorOrReply(): ad -> at.
Thanks to @badboy for reporting it.
-rw-r--r--src/db.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/db.c b/src/db.c
index 75505f848..117ebb7bc 100644
--- a/src/db.c
+++ b/src/db.c
@@ -340,7 +340,7 @@ void scanCallback(void *privdata, const dictEntry *de) {
if (val) listAddNodeTail(keys, val);
}
-/* Try to parse a SCAN cursor stored ad object 'o':
+/* Try to parse a SCAN cursor stored at object 'o':
* if the cursor is valid, store it as unsigned integer into *cursor and
* returns REDIS_OK. Otherwise return REDIS_ERR and send an error to the
* client. */