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
"doc/SetnxCommand.html" did not exist on "73287b2b576fa6a1ff1b61467286cbd5458881d2"
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
Show 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) {
...
@@ -1372,7 +1372,7 @@ REDIS_STATIC void *_quicklistSaver(unsigned char *data, unsigned int sz) {
unsigned
char
*
vstr
;
unsigned
char
*
vstr
;
if
(
data
)
{
if
(
data
)
{
vstr
=
zmalloc
(
sz
);
vstr
=
zmalloc
(
sz
);
memcpy
(
data
,
vstr
,
sz
);
memcpy
(
vstr
,
data
,
sz
);
return
vstr
;
return
vstr
;
}
}
return
NULL
;
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