mirror of
https://github.com/curl/curl.git
synced 2026-07-31 02:28:05 +03:00
pop3: Removed unnecessary state changes on failure
This commit is contained in:
parent
673b7ba80a
commit
2dbeaf7dad
1 changed files with 9 additions and 9 deletions
18
lib/pop3.c
18
lib/pop3.c
|
|
@ -977,9 +977,9 @@ static CURLcode pop3_state_auth_final_resp(struct connectdata *conn,
|
|||
failf(data, "Authentication failed: %d", pop3code);
|
||||
result = CURLE_LOGIN_DENIED;
|
||||
}
|
||||
|
||||
/* End of connect phase */
|
||||
state(conn, POP3_STOP);
|
||||
else
|
||||
/* End of connect phase */
|
||||
state(conn, POP3_STOP);
|
||||
|
||||
return result;
|
||||
}
|
||||
|
|
@ -997,9 +997,9 @@ static CURLcode pop3_state_apop_resp(struct connectdata *conn, int pop3code,
|
|||
failf(data, "Authentication failed: %d", pop3code);
|
||||
result = CURLE_LOGIN_DENIED;
|
||||
}
|
||||
|
||||
/* End of connect phase */
|
||||
state(conn, POP3_STOP);
|
||||
else
|
||||
/* End of connect phase */
|
||||
state(conn, POP3_STOP);
|
||||
|
||||
return result;
|
||||
}
|
||||
|
|
@ -1044,9 +1044,9 @@ static CURLcode pop3_state_pass_resp(struct connectdata *conn, int pop3code,
|
|||
failf(data, "Access denied. %c", pop3code);
|
||||
result = CURLE_LOGIN_DENIED;
|
||||
}
|
||||
|
||||
/* End of connect phase */
|
||||
state(conn, POP3_STOP);
|
||||
else
|
||||
/* End of connect phase */
|
||||
state(conn, POP3_STOP);
|
||||
|
||||
return result;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue