mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
uses socklen_t now
This commit is contained in:
parent
c67952fc5c
commit
3e7ebcd051
@ -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);
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user