summaryrefslogtreecommitdiff
path: root/anet.h
diff options
context:
space:
mode:
Diffstat (limited to 'anet.h')
-rw-r--r--anet.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/anet.h b/anet.h
index ce0f477..20fd3e2 100644
--- a/anet.h
+++ b/anet.h
@@ -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);