Commit 3e7ebcd0 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

uses socklen_t now

parent c67952fc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);
+1 −1
Original line number Diff line number Diff line
@@ -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 */