Permalink
Browse files

Fix bug in redis parsing protocol when we're parsing the arguments to…

… the EVAL/EVALSHA command.
  • Loading branch information...
ferenyx committed Jan 10, 2013
1 parent ea515a2 commit 9fc3606b4f6b0599d573e3b911ed90b6bab396f1
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/proto/nc_redis.c
View
@@ -1316,7 +1316,7 @@ redis_parse_req(struct msg *r)
case SW_ARGN_LF:
switch (ch) {
case LF:
- if (redis_argn(r)) {
+ if (redis_argn(r) || redis_argeval(r)) {
if (r->rnarg == 0) {
goto done;
}

0 comments on commit 9fc3606

Please sign in to comment.