X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/04a2ade90dd15db2a1e685e2e045b8c0181b9eea..22b9bf15949933b351525ae658dc32e40e5784ab:/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); }