From: Daniel Stenberg <daniel@haxx.se>
Date: Mon, 1 Oct 2001 22:50:03 +0000 (+0000)
Subject: removed warning
X-Git-Tag: curl-7_9_1~134
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3298630500cc1ee4e71ea53c4af68301a68cb35e;p=curl

removed warning
---

diff --git a/lib/connect.c b/lib/connect.c
index ec68162c3..8ff3dd16f 100644
--- a/lib/connect.c
+++ b/lib/connect.c
@@ -176,6 +176,8 @@ CURLcode Curl_connecthost(struct connectdata *conn,
   /*
    * Connecting with IPv6 support is so much easier and cleanly done
    */
+  port =0; /* we already have port in the 'remotehost' struct */
+
   if(sockfd != -1)
     /* don't use any previous one, it might be of wrong type */
     sclose(sockfd);