diff options
Diffstat (limited to 'anet.h')
-rw-r--r-- | anet.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -35,7 +35,7 @@ #define ANET_ERR -1 #define ANET_ERR_LEN 256 -int anetTcpConnect(char *err, char *addr, int port); +int anetTcpConnect(char *err, const char *addr, int port); int anetTcpNonBlockConnect(char *err, char *addr, int port); int anetRead(int fd, char *buf, int count); int anetResolve(char *err, char *host, char *ipbuf); |