diff options
| author | Daniel Stenberg <daniel@haxx.se> | 2001-03-09 15:13:34 +0000 | 
|---|---|---|
| committer | Daniel Stenberg <daniel@haxx.se> | 2001-03-09 15:13:34 +0000 | 
| commit | 3e7ebcd0513d4f55b8fc552a0791c60fe5af0c34 (patch) | |
| tree | 4b439a363ae0eb17c8a04b6dbb053236fa96c3c9 /lib | |
| parent | c67952fc5c3183580f4c3777d6ec2e79cd9e434b (diff) | |
uses socklen_t now
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/memdebug.c | 2 | ||||
| -rw-r--r-- | lib/memdebug.h | 2 | 
2 files changed, 2 insertions, 2 deletions
| diff --git a/lib/memdebug.c b/lib/memdebug.c index 28b86b656..213906a83 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 fc9a3222a..2ee523327 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 */ | 
