summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSalvatore Sanfilippo <antirez@gmail.com>2018-10-08 11:34:42 +0200
committerGitHub <noreply@github.com>2018-10-08 11:34:42 +0200
commit8507c3f26e3435de0d44122d9be206fd1b8265dc (patch)
treed60e2dffa08d6139266f8628b4586398987f4990
parent3d07ed983e8bc55e7d066558de0244bc77dbeba3 (diff)
parent534c3bc21a256e113265ff1af6724af5ac4c9f9c (diff)
downloadredis-8507c3f26e3435de0d44122d9be206fd1b8265dc.tar.gz
Merge pull request #5422 from ziyasal/patch-1
Fix typo in the comment of raxSeekGreatest function
-rw-r--r--src/rax.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rax.c b/src/rax.c
index 92b367550..b652928af 100644
--- a/src/rax.c
+++ b/src/rax.c
@@ -1313,7 +1313,7 @@ int raxIteratorNextStep(raxIterator *it, int noup) {
}
}
-/* Seek the grestest key in the subtree at the current node. Return 0 on
+/* Seek the greatest key in the subtree at the current node. Return 0 on
* out of memory, otherwise 1. This is an helper function for different
* iteration functions below. */
int raxSeekGreatest(raxIterator *it) {