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