mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-01 22:07:41 +00:00
url listener update.
This commit is contained in:
parent
4d79d2bb9f
commit
e50080b806
@ -1323,7 +1323,7 @@ PRInt32 nsSmtpProtocol::LoadURL(nsIURL * aURL)
|
||||
PRBool transportOpen = PR_FALSE;
|
||||
m_transport->IsTransportOpen(&transportOpen);
|
||||
m_urlInProgress = PR_TRUE;
|
||||
m_runningURL->SetRunningUrlFlag(PR_TRUE); // set the url as a url currently being run...
|
||||
m_runningURL->SetUrlState(PR_TRUE, NS_OK); // set the url as a url currently being run...
|
||||
if (transportOpen == PR_FALSE)
|
||||
{
|
||||
m_transport->Open(m_runningURL); // opening the url will cause to get notified when the connection is established
|
||||
@ -1452,7 +1452,7 @@ PRInt32 nsSmtpProtocol::LoadURL(nsIURL * aURL)
|
||||
break;
|
||||
case SMTP_DONE:
|
||||
m_urlInProgress = PR_FALSE;
|
||||
m_runningURL->SetRunningUrlFlag(PR_FALSE);
|
||||
m_runningURL->SetUrlState(PR_FALSE, NS_OK);
|
||||
m_nextState = SMTP_FREE;
|
||||
break;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user