diff --git a/hiredis.h b/hiredis.h index 7fd7770..b202cb0 100644 --- a/hiredis.h +++ b/hiredis.h @@ -62,12 +62,12 @@ * should be terminated once all replies have been read. */ #define REDIS_DISCONNECTING 0x4 -#define REDIS_REPLY_ERROR 0 #define REDIS_REPLY_STRING 1 #define REDIS_REPLY_ARRAY 2 #define REDIS_REPLY_INTEGER 3 #define REDIS_REPLY_NIL 4 #define REDIS_REPLY_STATUS 5 +#define REDIS_REPLY_ERROR 6 #ifdef __cplusplus extern "C" {