From 0a04b5f5a0caf3c59afc46aea7b1f6a9beea35df Mon Sep 17 00:00:00 2001 From: antirez Date: Mon, 28 Feb 2011 17:36:12 +0100 Subject: [PATCH] define name typo fixed --- src/rdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rdb.c b/src/rdb.c index 37491889..4ace4528 100644 --- a/src/rdb.c +++ b/src/rdb.c @@ -407,7 +407,7 @@ int rdbSaveKeyValuePair(FILE *fp, robj *key, robj *val, if (vtype == REDIS_HASH && val->encoding == REDIS_ENCODING_ZIPMAP) vtype = REDIS_HASH_ZIPMAP; else if (vtype == REDIS_LIST && val->encoding == REDIS_ENCODING_ZIPLIST) - vtype = REDIS_HASH_ZIPLIST; + vtype = REDIS_LIST_ZIPLIST; /* Save type, key, value */ if (rdbSaveType(fp,vtype) == -1) return -1; if (rdbSaveStringObject(fp,key) == -1) return -1; -- 2.45.2