mirror of
https://github.com/fluencelabs/redis
synced 2025-06-26 15:31:33 +00:00
Aesthetic fix (missing space) into HSCAN and ZSCAN implementations.
Thanks to @badboy for reporting.
This commit is contained in:
@ -766,7 +766,7 @@ void hexistsCommand(redisClient *c) {
|
|||||||
void hscanCommand(redisClient *c) {
|
void hscanCommand(redisClient *c) {
|
||||||
robj *o;
|
robj *o;
|
||||||
|
|
||||||
if ((o= lookupKeyReadOrReply(c,c->argv[1],shared.emptyscan)) == NULL ||
|
if ((o = lookupKeyReadOrReply(c,c->argv[1],shared.emptyscan)) == NULL ||
|
||||||
checkType(c,o,REDIS_HASH)) return;
|
checkType(c,o,REDIS_HASH)) return;
|
||||||
scanGenericCommand(c,o);
|
scanGenericCommand(c,o);
|
||||||
}
|
}
|
||||||
|
@ -2208,7 +2208,7 @@ void zrevrankCommand(redisClient *c) {
|
|||||||
void zscanCommand(redisClient *c) {
|
void zscanCommand(redisClient *c) {
|
||||||
robj *o;
|
robj *o;
|
||||||
|
|
||||||
if ((o= lookupKeyReadOrReply(c,c->argv[1],shared.emptyscan)) == NULL ||
|
if ((o = lookupKeyReadOrReply(c,c->argv[1],shared.emptyscan)) == NULL ||
|
||||||
checkType(c,o,REDIS_ZSET)) return;
|
checkType(c,o,REDIS_ZSET)) return;
|
||||||
scanGenericCommand(c,o);
|
scanGenericCommand(c,o);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user