summaryrefslogtreecommitdiff
path: root/read.h
diff options
context:
space:
mode:
Diffstat (limited to 'read.h')
-rw-r--r--read.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/read.h b/read.h
index af02aaf..6eff14c 100644
--- a/read.h
+++ b/read.h
@@ -97,7 +97,9 @@ typedef struct redisReader {
size_t len; /* Buffer length */
size_t maxbuf; /* Max length of unused buffer */
- redisReadTask rstack[9];
+ redisReadTask **task;
+ int tasks;
+
int ridx; /* Index of current read task */
void *reply; /* Temporary reply pointer */