summaryrefslogtreecommitdiff
path: root/deps
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2011-07-12 12:39:16 +0200
committerantirez <antirez@gmail.com>2011-07-12 12:39:16 +0200
commit0681c5ad844cefefbe62f30df6587c0cbec3272e (patch)
tree35ab1b7e8863dba2b728d2bae871042309206413 /deps
parent15bc1cc1bcd4174e7116b5429f1f31f792d13d2e (diff)
parent34a8b51768a2579010e128b05e001bf1d8f99995 (diff)
downloadredis-0681c5ad844cefefbe62f30df6587c0cbec3272e.tar.gz
master branch merged into scripting.
Diffstat (limited to 'deps')
-rw-r--r--deps/hiredis/hiredis.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/deps/hiredis/hiredis.c b/deps/hiredis/hiredis.c
index f2135bace..b27c63b83 100644
--- a/deps/hiredis/hiredis.c
+++ b/deps/hiredis/hiredis.c
@@ -50,7 +50,7 @@ typedef struct redisReader {
size_t pos; /* buffer cursor */
size_t len; /* buffer length */
- redisReadTask rstack[3]; /* stack of read tasks */
+ redisReadTask rstack[9]; /* stack of read tasks */
int ridx; /* index of stack */
void *privdata; /* user-settable arbitrary field */
} redisReader;
@@ -347,9 +347,9 @@ static int processMultiBulkItem(redisReader *r) {
int root = 0;
/* Set error for nested multi bulks with depth > 1 */
- if (r->ridx == 2) {
+ if (r->ridx == 8) {
redisSetReplyReaderError(r,sdscatprintf(sdsempty(),
- "No support for nested multi bulk replies with depth > 1"));
+ "No support for nested multi bulk replies with depth > 7"));
return -1;
}