mirror of
https://github.com/curl/curl.git
synced 2026-08-26 02:13:33 +03:00
Use build-time configured curl_socklen_t instead of socklen_t
This commit is contained in:
parent
80186aa7f4
commit
9137e717b0
30 changed files with 41 additions and 265 deletions
|
|
@ -255,7 +255,7 @@ int curl_accept(int s, void *saddr, void *saddrlen,
|
|||
int line, const char *source)
|
||||
{
|
||||
struct sockaddr *addr = (struct sockaddr *)saddr;
|
||||
socklen_t *addrlen = (socklen_t *)saddrlen;
|
||||
curl_socklen_t *addrlen = (curl_socklen_t *)saddrlen;
|
||||
int sockfd=accept(s, addr, addrlen);
|
||||
if(logfile)
|
||||
fprintf(logfile, "FD %s:%d accept() = %d\n",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue