API change function name fix

This commit is contained in:
antirez 2011-02-28 14:29:55 +01:00
parent 68495c46fe
commit cebac46589

View File

@ -380,7 +380,7 @@ double computeObjectSwappability(robj *o) {
break; break;
case REDIS_LIST: case REDIS_LIST:
if (o->encoding == REDIS_ENCODING_ZIPLIST) { if (o->encoding == REDIS_ENCODING_ZIPLIST) {
asize = sizeof(*o)+ziplistSize(o->ptr); asize = sizeof(*o)+ziplistBlobLen(o->ptr);
} else { } else {
l = o->ptr; l = o->ptr;
ln = listFirst(l); ln = listFirst(l);