summaryrefslogtreecommitdiff
path: root/hiredis.c
diff options
context:
space:
mode:
Diffstat (limited to 'hiredis.c')
-rw-r--r--hiredis.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hiredis.c b/hiredis.c
index 196268a..73d0251 100644
--- a/hiredis.c
+++ b/hiredis.c
@@ -808,7 +808,6 @@ int redisBufferRead(redisContext *c) {
return REDIS_ERR;
}
} else if (nread == 0) {
- c->flags &= ~REDIS_CONNECTED;
__redisSetError(c,REDIS_ERR_EOF,"Server closed the connection");
return REDIS_ERR;
} else {