Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpredis/phpredis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavlo Yatsukhnenko <yatsukhnenko@gmail.com>2017-03-29 23:28:56 +0300
committerPavlo Yatsukhnenko <yatsukhnenko@gmail.com>2017-03-29 23:28:56 +0300
commit434bb5ad5ceab2542ffc8b965d05acc660cfda98 (patch)
tree0fe20036e1ccd7a7aaa0d8270e86e0bdfbe1756a /common.h
parent8324a46b17bc1686e7834db36f96eebdfa1ec99e (diff)
Remove REDIS_SOCK_STATUS_UNKNOWN because no way to reach it.
Diffstat (limited to 'common.h')
-rw-r--r--common.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/common.h b/common.h
index dc51517b..8bc911ee 100644
--- a/common.h
+++ b/common.h
@@ -386,8 +386,7 @@ typedef size_t strlen_t;
#define REDIS_SOCK_STATUS_FAILED 0
#define REDIS_SOCK_STATUS_DISCONNECTED 1
-#define REDIS_SOCK_STATUS_UNKNOWN 2
-#define REDIS_SOCK_STATUS_CONNECTED 3
+#define REDIS_SOCK_STATUS_CONNECTED 2
#define _NL "\r\n"