]> granicus.if.org Git - curl/commitdiff
uses socklen_t now
authorDaniel Stenberg <daniel@haxx.se>
Fri, 9 Mar 2001 15:13:34 +0000 (15:13 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 9 Mar 2001 15:13:34 +0000 (15:13 +0000)
lib/memdebug.c
lib/memdebug.h

index 28b86b656d72299bd0b46b34849686a557c692a9..213906a83c5f636954f831ab16e9631cc33068a5 100644 (file)
@@ -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);
index fc9a3222a5d6acbeccb3c93892db03e7bf2dd676..2ee523327cb9297fd8b84f408e7783d4c2194804 100644 (file)
@@ -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 */