From f25b67ba7e09b512d8dbf7bbab15c7d4b96a2941 Mon Sep 17 00:00:00 2001 From: Chris Kanich Date: Sat, 23 Mar 2013 13:08:49 -0500 Subject: [PATCH] fix for PUT with single argument commands --- cmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd.c b/cmd.c index 18fca1e1..fe51627a 100644 --- a/cmd.c +++ b/cmd.c @@ -228,7 +228,7 @@ cmd_run(struct worker *w, struct http_client *client, } /* no args (e.g. INFO command) */ - if(!slash) { + if(cmd->count==1) { if(!cmd->ac) { cmd_free(cmd); return CMD_REDIS_UNAVAIL;