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
cebac465
Commit
cebac465
authored
Feb 28, 2011
by
antirez
Browse files
API change function name fix
parent
68495c46
Changes
1
Show whitespace changes
Inline
Side-by-side
src/vm.c
View file @
cebac465
...
...
@@ -380,7 +380,7 @@ double computeObjectSwappability(robj *o) {
break
;
case
REDIS_LIST
:
if
(
o
->
encoding
==
REDIS_ENCODING_ZIPLIST
)
{
asize
=
sizeof
(
*
o
)
+
ziplist
Size
(
o
->
ptr
);
asize
=
sizeof
(
*
o
)
+
ziplist
BlobLen
(
o
->
ptr
);
}
else
{
l
=
o
->
ptr
;
ln
=
listFirst
(
l
);
...
...
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