Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
02fcfc1e
Commit
02fcfc1e
authored
Jan 15, 2010
by
antirez
Browse files
useless debugging messages removed
parent
72766462
Changes
1
Hide whitespace changes
Inline
Side-by-side
redis.c
View file @
02fcfc1e
...
...
@@ -2828,8 +2828,6 @@ static int rdbSaveLzfStringObject(FILE *fp, robj *obj) {
outlen
=
sdslen
(
obj
->
ptr
)
-
4
;
if
(
outlen
<=
0
)
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
);
if
(
comprlen
==
0
)
{
zfree
(
out
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment