summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSalvatore Sanfilippo <antirez@gmail.com>2017-11-28 18:40:43 +0100
committerGitHub <noreply@github.com>2017-11-28 18:40:43 +0100
commit3508b9c44073e9fba47a57573e657471d13bd6dc (patch)
treea12b5ff5336b911560f09eead5664e65f6ff9940
parent4e55df4b5c1be4ecf30e013692ac327b5f3471e9 (diff)
parent2e6f28500941d7a6f24f3831e9cabcb576d290fd (diff)
downloadredis-3508b9c44073e9fba47a57573e657471d13bd6dc.tar.gz
Merge pull request #4170 from TehWebby/patch-2
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 2da0f54fc..dc0a444ae 100644
--- a/src/cluster.c
+++ b/src/cluster.c
@@ -653,7 +653,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