aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2010-06-05 15:08:26 +0200
committerYang Tse <yangsita@gmail.com>2010-06-05 15:08:26 +0200
commit4724b9d966e0785a875018a33861076501a83929 (patch)
tree6d2c59897a445d6d082b42b81adc255e0f9d29d3
parent8098d9417c649272b9d6d2ad76abbde7dfbfcad1 (diff)
replace socklen_t with curl_socklen_t
-rw-r--r--lib/connect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/connect.c b/lib/connect.c
index 43e17aa63..207956693 100644
--- a/lib/connect.c
+++ b/lib/connect.c
@@ -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);