diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/connect.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/connect.c b/lib/connect.c index 902721c80..787951136 100644 --- a/lib/connect.c +++ b/lib/connect.c @@ -374,7 +374,7 @@ static CURLcode bindlocal(struct connectdata *conn, if( bind(sockfd, sock, socksize) >= 0) { /* we succeeded to bind */ struct Curl_sockaddr_storage add; - unsigned short port; + unsigned short port = 0; size_t size; size = sizeof(add); |