mirror of
https://github.com/curl/curl.git
synced 2026-04-24 23:22:14 +03:00
uses socklen_t now
This commit is contained in:
parent
c67952fc5c
commit
3e7ebcd051
2 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue