Use build-time configured curl_socklen_t instead of socklen_t

This commit is contained in:
Yang Tse 2009-05-02 02:37:32 +00:00
parent 80186aa7f4
commit 9137e717b0
30 changed files with 41 additions and 265 deletions

View file

@ -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",