mirror of https://github.com/redis/redis.git
Fix typo
This commit is contained in:
parent
202c2ebec4
commit
ebe228dab2
|
@ -327,7 +327,7 @@ int dictReplace(dict *d, void *key, void *val)
|
||||||
dictEntry *entry, *existing, auxentry;
|
dictEntry *entry, *existing, auxentry;
|
||||||
|
|
||||||
/* Try to add the element. If the key
|
/* 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);
|
entry = dictAddRaw(d,key,&existing);
|
||||||
if (entry) {
|
if (entry) {
|
||||||
dictSetVal(d, entry, val);
|
dictSetVal(d, entry, val);
|
||||||
|
|
Loading…
Reference in New Issue