mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -05:00
POP3: when USER command fails, don't even try PASS
This commit is contained in:
parent
313a5b05c2
commit
fa7341143a
@ -311,7 +311,7 @@ static CURLcode pop3_state_user_resp(struct connectdata *conn,
|
||||
failf(data, "Access denied. %c", pop3code);
|
||||
result = CURLE_LOGIN_DENIED;
|
||||
}
|
||||
|
||||
else
|
||||
/* send PASS */
|
||||
result = Curl_pp_sendf(&conn->proto.pop3c.pp, "PASS %s",
|
||||
pop3->passwd?pop3->passwd:"");
|
||||
|
Loading…
Reference in New Issue
Block a user