url listener update.

This commit is contained in:
mscott%netscape.com 1999-03-03 01:32:10 +00:00
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;