mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-04 11:26:09 +00:00
Part of Bug #13777. Fix a bug whre if you mistyped your password, then hit cancel
we would bring up another passwod dialog. you had to hit cancel again before it really canceled.
This commit is contained in:
parent
67326a38a8
commit
620857cfdc
@ -2388,13 +2388,12 @@ nsresult nsPop3Protocol::ProcessProtocolState(nsIURI * url, nsIInputStream * aIn
|
||||
net_pop3_password_pending = PR_TRUE;
|
||||
}
|
||||
#endif
|
||||
nsXPIDLCString apwd;
|
||||
GetPassword(getter_Copies(apwd));
|
||||
const char * cpwd = (const char *) pwd;
|
||||
if (m_username.IsEmpty() || !pwd || !*pwd)
|
||||
{
|
||||
// net_pop3_block = PR_FALSE;
|
||||
return NS_OK;
|
||||
m_pop3ConData->next_state = POP3_ERROR_DONE;
|
||||
m_pop3ConData->pause_for_read = PR_FALSE;
|
||||
break;
|
||||
}
|
||||
|
||||
m_pop3ConData->next_state = POP3_START_CONNECT;
|
||||
|
Loading…
Reference in New Issue
Block a user