summaryrefslogtreecommitdiff
path: root/lib/http.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2020-05-26 14:42:47 +0200
committerDaniel Stenberg <daniel@haxx.se>2020-05-27 08:02:47 +0200
commit7414fb25a211f08591b80298746afcfad8718894 (patch)
treee635ffaec552b2a058dcb4d28e5f62bf8e2f16aa /lib/http.c
parent67d2802deabd179552bf957d344b7dd74cbb64d8 (diff)
downloadcurl-7414fb25a211f08591b80298746afcfad8718894.tar.gz
urldata: connect related booleans live in struct ConnectBits
And remove a few unused booleans! Closes #5461
Diffstat (limited to 'lib/http.c')
-rw-r--r--lib/http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/http.c b/lib/http.c
index 345a78c43..5e019768c 100644
--- a/lib/http.c
+++ b/lib/http.c
@@ -2318,7 +2318,7 @@ CURLcode Curl_http(struct connectdata *conn, bool *done)
data->set.prefer_ascii ? 'a' : 'i');
}
}
- if(conn->bits.user_passwd && !conn->bits.userpwd_in_url)
+ if(conn->bits.user_passwd)
paste_ftp_userpwd = TRUE;
}
}