mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-23 00:28:26 -05:00
useless debugging messages removed
This commit is contained in:
parent
7276646263
commit
02fcfc1e39
2
redis.c
2
redis.c
@ -2828,8 +2828,6 @@ static int rdbSaveLzfStringObject(FILE *fp, robj *obj) {
|
|||||||
outlen = sdslen(obj->ptr)-4;
|
outlen = sdslen(obj->ptr)-4;
|
||||||
if (outlen <= 0) return 0;
|
if (outlen <= 0) return 0;
|
||||||
if ((out = zmalloc(outlen+1)) == NULL) return 0;
|
if ((out = zmalloc(outlen+1)) == NULL) return 0;
|
||||||
printf("Calling LZF with ptr: %p\n", (void*)obj->ptr);
|
|
||||||
fflush(stdout);
|
|
||||||
comprlen = lzf_compress(obj->ptr, sdslen(obj->ptr), out, outlen);
|
comprlen = lzf_compress(obj->ptr, sdslen(obj->ptr), out, outlen);
|
||||||
if (comprlen == 0) {
|
if (comprlen == 0) {
|
||||||
zfree(out);
|
zfree(out);
|
||||||
|
Loading…
Reference in New Issue
Block a user