summaryrefslogtreecommitdiff
path: root/lib/dict.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2022-02-14 17:33:50 +0100
committerDaniel Stenberg <daniel@haxx.se>2022-02-16 10:28:31 +0100
commit7d600ad1c3959bbf78dc14498335b8a73cfc790c (patch)
treedcd3c59fdda6d9e832eebd6da6dcdb8ed6be58a6 /lib/dict.c
parenteb13cc292767ef75e061ab1efa4644a839dab837 (diff)
downloadcurl-7d600ad1c3959bbf78dc14498335b8a73cfc790c.tar.gz
urldata: remove conn->bits.user_passwd
The authentication status should be told by the transfer and not the connection. Reported-by: John H. Ayad Fixes #8449 Closes #8451
Diffstat (limited to 'lib/dict.c')
-rw-r--r--lib/dict.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/dict.c b/lib/dict.c
index 73b0e3176..e23e66191 100644
--- a/lib/dict.c
+++ b/lib/dict.c
@@ -190,10 +190,6 @@ static CURLcode dict_do(struct Curl_easy *data, bool *done)
*done = TRUE; /* unconditionally */
- if(conn->bits.user_passwd) {
- /* AUTH is missing */
- }
-
if(strncasecompare(path, DICT_MATCH, sizeof(DICT_MATCH)-1) ||
strncasecompare(path, DICT_MATCH2, sizeof(DICT_MATCH2)-1) ||
strncasecompare(path, DICT_MATCH3, sizeof(DICT_MATCH3)-1)) {