From 3e7ebcd0513d4f55b8fc552a0791c60fe5af0c34 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 9 Mar 2001 15:13:34 +0000 Subject: [PATCH] uses socklen_t now --- lib/memdebug.c | 2 +- lib/memdebug.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/memdebug.c b/lib/memdebug.c index 28b86b656d..213906a83c 100644 --- a/lib/memdebug.c +++ b/lib/memdebug.c @@ -120,7 +120,7 @@ int curl_socket(int domain, int type, int protocol, int line, char *source) return sockfd; } -int curl_accept(int s, struct sockaddr *addr, int *addrlen, +int curl_accept(int s, struct sockaddr *addr, socklen_t *addrlen, int line, char *source) { int sockfd=(accept)(s, addr, addrlen); diff --git a/lib/memdebug.h b/lib/memdebug.h index fc9a3222a5..2ee523327c 100644 --- a/lib/memdebug.h +++ b/lib/memdebug.h @@ -13,7 +13,7 @@ void curl_memdebug(char *logname); /* file descriptor manipulators */ int curl_socket(int domain, int type, int protocol, int, char *); int curl_sclose(int sockfd, int, char *); -int curl_accept(int s, struct sockaddr *addr, int *addrlen, +int curl_accept(int s, struct sockaddr *addr, socklen_t *addrlen, int line, char *source); /* FILE functions */