diff --git a/src/rdb.c b/src/rdb.c index 2d6ac85f..89e77e6f 100644 --- a/src/rdb.c +++ b/src/rdb.c @@ -943,7 +943,7 @@ robj *rdbLoadObject(int rdbtype, rio *rdb) { /* Add pair to hash table */ ret = dictAdd((dict*)o->ptr, field, value); - redisAssert(ret == REDIS_OK); + redisAssert(ret == DICT_OK); } /* All pairs should be read by now */