mirror of
https://github.com/redis/redis.git
synced 2026-02-03 20:39:54 -05:00
Fix typo
This commit is contained in:
parent
202c2ebec4
commit
ebe228dab2
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue