diff options
Diffstat (limited to 'net.h')
-rw-r--r-- | net.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -40,7 +40,7 @@ #endif int redisContextSetTimeout(redisContext *c, struct timeval tv); -int redisContextConnectTcp(redisContext *c, const char *addr, int port); -int redisContextConnectUnix(redisContext *c, const char *path); +int redisContextConnectTcp(redisContext *c, const char *addr, int port, struct timeval *timeout); +int redisContextConnectUnix(redisContext *c, const char *path, struct timeval *timeout); #endif |