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

This commit is contained in:
antirez
2013-10-29 16:19:33 +01:00
parent b44f1589a4
commit 907e06cd61
-3
View File
@@ -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);
}