Commit bb2df795 authored by antirez's avatar antirez
Browse files

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

Thanks to @badboy for reporting.
parent 35816a2e
......@@ -766,7 +766,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);
}
......@@ -2208,7 +2208,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