Skip to content

Commit

Permalink
replace socklen_t with curl_socklen_t
Browse files Browse the repository at this point in the history
  • Loading branch information
yangtse committed Jun 5, 2010
1 parent 8098d94 commit 4724b9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/connect.c
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,7 @@ void Curl_updateconninfo(curl_socket_t sockfd, struct PureInfo* info)
struct Curl_sockaddr_storage ssrem;
struct Curl_sockaddr_storage ssloc;

socklen_t len = sizeof(struct Curl_sockaddr_storage);
curl_socklen_t len = sizeof(struct Curl_sockaddr_storage);

getpeername(sockfd, (struct sockaddr*) &ssrem, &len);
getsockname(sockfd, (struct sockaddr*) &ssloc, &len);
Expand Down

0 comments on commit 4724b9d

Please sign in to comment.