diff options
author | Pieter Noordhuis <pcnoordhuis@gmail.com> | 2010-09-20 14:05:23 +0200 |
---|---|---|
committer | Pieter Noordhuis <pcnoordhuis@gmail.com> | 2010-09-20 14:05:23 +0200 |
commit | e944ea366225d4a925cd3cd6ab927fa671ba6f1d (patch) | |
tree | 1b93bcca264cbd4fa0f7fcac960ef0e2287909b3 /hiredis.h | |
parent | aec1fbd2ad9bb4505ae0ba915740802baee76ebc (diff) |
Add reply type for protocol errors, in order to never exit()
Diffstat (limited to 'hiredis.h')
-rw-r--r-- | hiredis.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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" |