summaryrefslogtreecommitdiff
path: root/sockutils.h
diff options
context:
space:
mode:
Diffstat (limited to 'sockutils.h')
-rw-r--r--sockutils.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sockutils.h b/sockutils.h
index ec7b449a..95dfb461 100644
--- a/sockutils.h
+++ b/sockutils.h
@@ -208,7 +208,8 @@ int sock_recv_dgram(SOCKET sock, void *buffer, size_t size,
SOCKET sock_open(struct addrinfo *addrinfo, int server, int nconn, char *errbuf, int errbuflen);
int sock_close(SOCKET sock, char *errbuf, int errbuflen);
-int sock_send(SOCKET sock, const char *buffer, int size, char *errbuf, int errbuflen);
+int sock_send(SOCKET sock, const char *buffer, size_t size,
+ char *errbuf, int errbuflen);
int sock_bufferize(const char *buffer, int size, char *tempbuf, int *offset, int totsize, int checkonly, char *errbuf, int errbuflen);
int sock_discard(SOCKET sock, int size, char *errbuf, int errbuflen);
int sock_check_hostlist(char *hostlist, const char *sep, struct sockaddr_storage *from, char *errbuf, int errbuflen);