mirror of
https://github.com/fluencelabs/redis
synced 2025-03-19 00:50:50 +00:00
SCAN: remove additional newlines to conform to Redis code base.
This commit is contained in:
parent
6e55e543c6
commit
908eba5a8f
3
src/db.c
3
src/db.c
@ -391,12 +391,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);
|
||||
@ -415,7 +413,6 @@ cleanup:
|
||||
decrRefCount(kobj);
|
||||
listDelNode(keys, ln);
|
||||
}
|
||||
|
||||
listRelease(keys);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user