Aesthetic fix (missing space) into HSCAN and ZSCAN implementations.

Thanks to @badboy for reporting.
This commit is contained in:
antirez 2013-10-28 13:20:03 +01:00
parent 2c643ffa8d
commit 9b2d44e63f
2 changed files with 2 additions and 2 deletions

View File

@ -763,7 +763,7 @@ void hexistsCommand(redisClient *c) {
void hscanCommand(redisClient *c) {
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;
scanGenericCommand(c,o);
}

View File

@ -2211,7 +2211,7 @@ void zrevrankCommand(redisClient *c) {
void zscanCommand(redisClient *c) {
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;
scanGenericCommand(c,o);
}