struct dictEntry -> dictEntry.

This commit is contained in:
antirez
2014-03-20 16:20:37 +01:00
parent 5317f5e99a
commit 82b53c650c
4 changed files with 10 additions and 10 deletions

View File

@ -104,7 +104,7 @@ void dbAdd(redisDb *db, robj *key, robj *val) {
*
* The program is aborted if the key was not already present. */
void dbOverwrite(redisDb *db, robj *key, robj *val) {
struct dictEntry *de = dictFind(db->dict,key->ptr);
dictEntry *de = dictFind(db->dict,key->ptr);
redisAssertWithInfo(NULL,key,de != NULL);
dictReplace(db->dict, key->ptr, val);
@ -136,7 +136,7 @@ int dbExists(redisDb *db, robj *key) {
*
* The function makes sure to return keys not already expired. */
robj *dbRandomKey(redisDb *db) {
struct dictEntry *de;
dictEntry *de;
while(1) {
sds key;