Commit fa734114 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

POP3: when USER command fails, don't even try PASS

parent 313a5b05
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -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:"");