A nil is not found

master
Karoly Negyesi 13 years ago
parent 05bcc6098a
commit 3e9354b21f

@ -27,7 +27,7 @@ custom_type_reply(redisAsyncContext *c, void *r, void *privdata) {
switch(reply->type) {
case REDIS_REPLY_NIL: /* or nil values */
format_send_reply(cmd, "", 0, cmd->mime);
format_send_error(cmd, 404, "Not found");
return;
case REDIS_REPLY_STRING:

Loading…
Cancel
Save