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
395e1125
Commit
395e1125
authored
Feb 17, 2015
by
John Doe
Committed by
Matt Stancliff
Feb 17, 2015
Browse files
Fix quicklist Pop() result
Closes #2398
parent
cfe5eaae
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/quicklist.c
View file @
395e1125
...
...
@@ -1372,7 +1372,7 @@ REDIS_STATIC void *_quicklistSaver(unsigned char *data, unsigned int sz) {
unsigned
char
*
vstr
;
if
(
data
)
{
vstr
=
zmalloc
(
sz
);
memcpy
(
data
,
vstr
,
sz
);
memcpy
(
vstr
,
data
,
sz
);
return
vstr
;
}
return
NULL
;
...
...
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