From 3f0394b8a91dd77560a2d1ae7bcafced0cbcffcf Mon Sep 17 00:00:00 2001 From: Pieter Noordhuis Date: Sun, 31 Oct 2010 14:42:48 +0100 Subject: Use a fixed size stack instead of a dynamic list for read tasks --- hiredis.h | 1 + 1 file changed, 1 insertion(+) (limited to 'hiredis.h') diff --git a/hiredis.h b/hiredis.h index 4142573..08d1df9 100644 --- a/hiredis.h +++ b/hiredis.h @@ -61,6 +61,7 @@ typedef struct redisReply { typedef struct redisReadTask { int type; + int elements; /* number of elements in multibulk container */ void *parent; /* optional pointer to parent object */ int idx; /* index in parent (array) object */ } redisReadTask; -- cgit v1.2.3