Commit 907e06cd authored by antirez's avatar antirez
Browse files

SCAN: remove additional newlines to conform to Redis code base.

parent b44f1589
......@@ -381,12 +381,10 @@ void scanCommand(redisClient *c) {
decrRefCount(kobj);
listDelNode(keys, ln);
}
ln = ln_;
}
addReplyMultiBulkLen(c, 2);
rv = snprintf(buf, sizeof(buf), "%lu", cursor);
redisAssert(rv < sizeof(buf));
addReplyBulkCBuffer(c, buf, rv);
......@@ -405,7 +403,6 @@ cleanup:
decrRefCount(kobj);
listDelNode(keys, ln);
}
listRelease(keys);
}
......
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