summaryrefslogtreecommitdiff
path: root/hiredis.h
diff options
context:
space:
mode:
authorPieter Noordhuis <pcnoordhuis@gmail.com>2010-09-20 14:05:23 +0200
committerPieter Noordhuis <pcnoordhuis@gmail.com>2010-09-20 14:05:23 +0200
commite944ea366225d4a925cd3cd6ab927fa671ba6f1d (patch)
tree1b93bcca264cbd4fa0f7fcac960ef0e2287909b3 /hiredis.h
parentaec1fbd2ad9bb4505ae0ba915740802baee76ebc (diff)
Add reply type for protocol errors, in order to never exit()
Diffstat (limited to 'hiredis.h')
-rw-r--r--hiredis.h1
1 files changed, 1 insertions, 0 deletions
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"