summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShaun Webb <shaunwebbit@gmail.com>2017-07-27 09:37:37 +0900
committerGitHub <noreply@github.com>2017-07-27 09:37:37 +0900
commit2e6f28500941d7a6f24f3831e9cabcb576d290fd (patch)
treea0eb36d13e2f8920f12fdefa7a5b40671a35debf
parentdc997755bf8c2d69899957a8ab6dc41aed0c7ddb (diff)
downloadredis-2e6f28500941d7a6f24f3831e9cabcb576d290fd.tar.gz
Fix typo
-rw-r--r--src/cluster.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cluster.c b/src/cluster.c
index a9fedce0c..4e013313a 100644
--- a/src/cluster.c
+++ b/src/cluster.c
@@ -650,7 +650,7 @@ unsigned int keyHashSlot(char *key, int keylen) {
for (e = s+1; e < keylen; e++)
if (key[e] == '}') break;
- /* No '}' or nothing betweeen {} ? Hash the whole key. */
+ /* No '}' or nothing between {} ? Hash the whole key. */
if (e == keylen || e == s+1) return crc16(key,keylen) & 0x3FFF;
/* If we are here there is both a { and a } on its right. Hash