Skip to content

Commit

Permalink
fix bug mset has invalid pair
Browse files Browse the repository at this point in the history
  • Loading branch information
clark.kang committed May 19, 2015
1 parent 786c6d4 commit f1645b0
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/proto/nc_redis.c
Original file line number Diff line number Diff line change
Expand Up @@ -1190,9 +1190,6 @@ redis_parse_req(struct msg *r)
}
state = SW_KEY_LEN;
} else if (redis_argkvx(r)) {
if (r->rnarg == 0) {
goto done;
}
if (r->narg % 2 == 0) {
goto error;
}
Expand Down

0 comments on commit f1645b0

Please sign in to comment.