projects
/
redis.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
top level make clean also clean hiredis and linoise (deps)
[redis.git]
/
src
/
t_hash.c
diff --git
a/src/t_hash.c
b/src/t_hash.c
index 5cef1cabbcd86addfd6133fcbd2c6261e2750ae5..071b7754a708c2aae9bc0a66982b7f2f7d9c6b1a 100644
(file)
--- a/
src/t_hash.c
+++ b/
src/t_hash.c
@@
-310,6
+310,7
@@
void hmgetCommand(redisClient *c) {
o = lookupKeyRead(c->db,c->argv[1]);
if (o != NULL && o->type != REDIS_HASH) {
addReply(c,shared.wrongtypeerr);
+ return;
}
/* Note the check for o != NULL happens inside the loop. This is