Commit 9b2d44e6 authored by antirez's avatar antirez
Browse files

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

Thanks to @badboy for reporting.
parent 2c643ffa
......@@ -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);
}
......@@ -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);
}
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