From e944ea366225d4a925cd3cd6ab927fa671ba6f1d Mon Sep 17 00:00:00 2001 From: Pieter Noordhuis Date: Mon, 20 Sep 2010 14:05:23 +0200 Subject: Add reply type for protocol errors, in order to never exit() --- hiredis.h | 1 + 1 file changed, 1 insertion(+) (limited to 'hiredis.h') diff --git a/hiredis.h b/hiredis.h index 6169b7d..85fc540 100644 --- a/hiredis.h +++ b/hiredis.h @@ -36,6 +36,7 @@ #define REDIS_REPLY_INTEGER 3 #define REDIS_REPLY_NIL 4 #define REDIS_REPLY_STATUS 5 +#define REDIS_PROTOCOL_ERROR 6 #include "sds.h" -- cgit v1.2.3