1
0
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:
Daniel Stenberg 2010-04-16 22:56:13 +02:00
parent 313a5b05c2
commit fa7341143a

View File

@ -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:"");