X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/8ce39260a4acfedea5ee8f9143d2d2a9ce82b498..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); }