Commit 395e1125 authored by John Doe's avatar John Doe Committed by Matt Stancliff
Browse files

Fix quicklist Pop() result

Closes #2398
parent cfe5eaae
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment