Commit 2dbeaf7d authored by Steve Holme's avatar Steve Holme
Browse files

pop3: Removed unnecessary state changes on failure

parent 673b7ba8
Loading
Loading
Loading
Loading
+9 −9
Original line number Diff line number Diff line
@@ -977,7 +977,7 @@ static CURLcode pop3_state_auth_final_resp(struct connectdata *conn,
    failf(data, "Authentication failed: %d", pop3code);
    result = CURLE_LOGIN_DENIED;
  }

  else
    /* End of connect phase */
    state(conn, POP3_STOP);

@@ -997,7 +997,7 @@ static CURLcode pop3_state_apop_resp(struct connectdata *conn, int pop3code,
    failf(data, "Authentication failed: %d", pop3code);
    result = CURLE_LOGIN_DENIED;
  }

  else
    /* End of connect phase */
    state(conn, POP3_STOP);

@@ -1044,7 +1044,7 @@ static CURLcode pop3_state_pass_resp(struct connectdata *conn, int pop3code,
    failf(data, "Access denied. %c", pop3code);
    result = CURLE_LOGIN_DENIED;
  }

  else
    /* End of connect phase */
    state(conn, POP3_STOP);