summaryrefslogtreecommitdiff
path: root/async.h
diff options
context:
space:
mode:
Diffstat (limited to 'async.h')
-rw-r--r--async.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/async.h b/async.h
index 1df2ff0..8a2cf1e 100644
--- a/async.h
+++ b/async.h
@@ -102,7 +102,7 @@ typedef struct redisAsyncContext {
/* Functions that proxy to hiredis */
redisAsyncContext *redisAsyncConnect(const char *ip, int port);
-redisAsyncContext *redisAsyncConnectBind(const char *ip, int port,char *source);
+redisAsyncContext *redisAsyncConnectBind(const char *ip, int port, const char *source_addr);
redisAsyncContext *redisAsyncConnectUnix(const char *path);
int redisAsyncSetConnectCallback(redisAsyncContext *ac, redisConnectCallback *fn);
int redisAsyncSetDisconnectCallback(redisAsyncContext *ac, redisDisconnectCallback *fn);