http-proxy: remove unused argument from Curl_proxyCONNECT()

This commit is contained in:
Daniel Stenberg 2017-04-26 00:34:22 +02:00
parent fb67c977b9
commit 55c3c02e59
3 changed files with 9 additions and 18 deletions

View file

@ -3587,7 +3587,7 @@ static CURLcode ftp_do_more(struct connectdata *conn, int *completep)
if(conn->tunnel_state[SECONDARYSOCKET] == TUNNEL_CONNECT) {
/* As we're in TUNNEL_CONNECT state now, we know the proxy name and port
aren't used so we blank their arguments. TODO: make this nicer */
result = Curl_proxyCONNECT(conn, SECONDARYSOCKET, NULL, 0, FALSE);
result = Curl_proxyCONNECT(conn, SECONDARYSOCKET, NULL, 0);
return result;
}