diff options
-rw-r--r-- | async.h | 2 | ||||
-rw-r--r-- | test.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -57,7 +57,7 @@ typedef struct redisCallbackList { /* Connection callback prototypes */ typedef void (redisDisconnectCallback)(const struct redisAsyncContext*, int status); -typedef void (redisConnectCallback)(const struct redisAsyncContext*, int status); +typedef void (redisConnectCallback)(struct redisAsyncContext*, int status); typedef void(redisTimerCallback)(void *timer, void *privdata); /* Context for an async connection to Redis */ @@ -1946,7 +1946,7 @@ static void asCleanup(void* data) static void commandCallback(struct redisAsyncContext *ac, void* _reply, void* _privdata); -static void connectCallback(const redisAsyncContext *c, int status) { +static void connectCallback(redisAsyncContext *c, int status) { struct _astest *t = (struct _astest *)c->data; assert(t == &astest); assert(t->connects == 0); |