mirror of
https://github.com/curl/curl.git
synced 2026-08-05 07:16:14 +03:00
whitespace/ifdef fixes after review
This commit is contained in:
parent
e926009fdf
commit
71c7458139
2 changed files with 5 additions and 8 deletions
|
|
@ -1600,11 +1600,10 @@ static void cf_socket_active(struct Curl_cfilter *cf, struct Curl_easy *data)
|
|||
/* use this socket from now on */
|
||||
cf->conn->sock[cf->sockindex] = ctx->sock;
|
||||
set_local_ip(cf, data);
|
||||
if(cf->sockindex == FIRSTSOCKET) {
|
||||
#ifdef USE_IPV6
|
||||
#ifdef USE_IPV6
|
||||
if(cf->sockindex == FIRSTSOCKET)
|
||||
cf->conn->bits.ipv6 = (ctx->addr.family == AF_INET6);
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
ctx->active = TRUE;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1927,11 +1927,9 @@ static CURLcode ftp_state_pasv_resp(struct Curl_easy *data,
|
|||
|
||||
#ifndef CURL_DISABLE_PROXY
|
||||
if(conn->bits.proxy) {
|
||||
/*
|
||||
* This connection uses a proxy and we need to connect to the proxy again
|
||||
/* This connection uses a proxy and we need to connect to the proxy again
|
||||
* here. We do not want to rely on a former host lookup that might've
|
||||
* expired now, instead we remake the lookup here and now!
|
||||
*/
|
||||
* expired now, instead we remake the lookup here and now! */
|
||||
struct ip_quadruple ipquad;
|
||||
int is_ipv6;
|
||||
const char * const host_name = conn->bits.socksproxy ?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue