X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/6eaad66373982aa9c1c0ff6b584c542670548d0e..9ad853ccde374ed371efee3b1654c6ebb39e06fa:/src/ziplist.c diff --git a/src/ziplist.c b/src/ziplist.c index 233fabef..524f7238 100644 --- a/src/ziplist.c +++ b/src/ziplist.c @@ -730,8 +730,8 @@ unsigned int ziplistLen(unsigned char *zl) { return len; } -/* Return size in bytes of ziplist. */ -unsigned int ziplistSize(unsigned char *zl) { +/* Return ziplist blob size in bytes. */ +size_t ziplistBlobLen(unsigned char *zl) { return ZIPLIST_BYTES(zl); }