Skip to content
Snippets Groups Projects
Commit 3e7ebcd0 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

uses socklen_t now

parent c67952fc
No related branches found
No related tags found
No related merge requests found
......@@ -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 */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment