diff options
author | Daniel Stenberg <daniel@haxx.se> | 2022-02-14 17:33:50 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2022-02-16 10:28:31 +0100 |
commit | 7d600ad1c3959bbf78dc14498335b8a73cfc790c (patch) | |
tree | dcd3c59fdda6d9e832eebd6da6dcdb8ed6be58a6 /lib/smb.c | |
parent | eb13cc292767ef75e061ab1efa4644a839dab837 (diff) | |
download | curl-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/smb.c')
-rw-r--r-- | lib/smb.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -262,7 +262,7 @@ static CURLcode smb_connect(struct Curl_easy *data, bool *done) (void) done; /* Check we have a username and password to authenticate with */ - if(!conn->bits.user_passwd) + if(!data->state.aptr.user) return CURLE_LOGIN_DENIED; /* Initialize the connection state */ |