Unavailability bugfix.

master
Nicolas Favre-Felix 14 years ago
parent 8c60c86ce8
commit a91b7b13e1

@ -181,6 +181,9 @@ cmd_run(struct worker *w, struct http_client *client,
/* no args (e.g. INFO command) */
if(!slash) {
if(!ac) {
return CMD_REDIS_UNAVAIL;
}
redisAsyncCommandArgv(ac, f_format, cmd, 1,
(const char **)cmd->argv, cmd->argv_len);
return CMD_SENT;

Loading…
Cancel
Save