summaryrefslogtreecommitdiff
path: root/hiredis.h
diff options
context:
space:
mode:
authorPieter Noordhuis <pcnoordhuis@gmail.com>2011-12-02 10:29:29 -0800
committerPieter Noordhuis <pcnoordhuis@gmail.com>2011-12-02 10:29:29 -0800
commit95e83386f7d592d021bed87f4df1530eda454c6a (patch)
treec0da717f7d9198d2ef55bf8f9f9a3512f3a17fdd /hiredis.h
parent4aa3179332febf14b373af727512e5dc8b4e1ac8 (diff)
parent52a29a124bec34b570f8b1f6817817e8aa0e5791 (diff)
Merge pull request #70 from mrb/increase_read_depth
Increase read depth by one, would allow ruby redis client to read from slowlog
Diffstat (limited to 'hiredis.h')
-rw-r--r--hiredis.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hiredis.h b/hiredis.h
index 3c3491c..8358375 100644
--- a/hiredis.h
+++ b/hiredis.h
@@ -123,7 +123,7 @@ typedef struct redisReader {
size_t pos; /* Buffer cursor */
size_t len; /* Buffer length */
- redisReadTask rstack[3];
+ redisReadTask rstack[4];
int ridx; /* Index of current read task */
void *reply; /* Temporary reply pointer */