summaryrefslogtreecommitdiff
path: root/hiredis.h
diff options
context:
space:
mode:
Diffstat (limited to 'hiredis.h')
-rw-r--r--hiredis.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/hiredis.h b/hiredis.h
index 665b8c6..907193e 100644
--- a/hiredis.h
+++ b/hiredis.h
@@ -86,9 +86,9 @@ 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 */
- struct redisReadTask *parentTask; /* pointer to parent task */
+ void *obj; /* holds user-generated value for a read task */
+ struct redisReadTask *parent; /* parent task */
void *privdata; /* user-settable arbitrary field */
} redisReadTask;