summaryrefslogtreecommitdiff
path: root/async.h
diff options
context:
space:
mode:
Diffstat (limited to 'async.h')
-rw-r--r--async.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/async.h b/async.h
index 2e14b13..d0a99da 100644
--- a/async.h
+++ b/async.h
@@ -54,8 +54,9 @@ typedef struct redisAsyncContext {
/* Hold the regular context, so it can be realloc'ed. */
redisContext c;
- /* Hold a reference to the error object so it can be used directly. */
- char *error;
+ /* Setup error flags so they can be used directly. */
+ int err;
+ char *errstr;
/* Called when the library expects to start reading/writing.
* The supplied functions should be idempotent. */