Commit cebac465 authored by antirez's avatar antirez
Browse files

API change function name fix

parent 68495c46
...@@ -380,7 +380,7 @@ double computeObjectSwappability(robj *o) { ...@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment