summaryrefslogtreecommitdiff
path: root/src/dict.c
diff options
context:
space:
mode:
authorJack Drogon <jack.xsuperman@gmail.com>2018-07-01 13:24:50 +0800
committerSalvatore Sanfilippo <antirez@gmail.com>2018-07-03 18:19:46 +0200
commit93238575f77630f24e0472bdbf7eecb73a4652a8 (patch)
treefb075adb140513364b5d357c676196d33b709602 /src/dict.c
parent94b3ee61420f8638d9cdba32877864deef91d5e9 (diff)
downloadredis-93238575f77630f24e0472bdbf7eecb73a4652a8.tar.gz
Fix typo
Diffstat (limited to 'src/dict.c')
-rw-r--r--src/dict.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dict.c b/src/dict.c
index c52f5bf8d..738b38c46 100644
--- a/src/dict.c
+++ b/src/dict.c
@@ -327,7 +327,7 @@ int dictReplace(dict *d, void *key, void *val)
dictEntry *entry, *existing, auxentry;
/* Try to add the element. If the key
- * does not exists dictAdd will suceed. */
+ * does not exists dictAdd will succeed. */
entry = dictAddRaw(d,key,&existing);
if (entry) {
dictSetVal(d, entry, val);