fix build bustage, bug 658503
☠☠ backed out by f3c8b3d47c6c ☠ ☠
authorDavid Bienvenu <bienvenu@nventure.com>
Fri, 20 May 2011 07:01:47 -0700
changeset 7793 754b3e5c79a001dd10e4f785424e934a60cf828e
parent 7792 184b63b572e1b07cbfefbc60a3a118f66e1e04c5
child 7794 9f2029d7b5ff71fde64c905041c917fbd0df6198
child 7798 f3c8b3d47c6c8fc174cc1c54ff9160459b8d74d7
push id1
push userbugzilla@standard8.plus.com
push dateFri, 20 May 2011 16:03:29 +0000
treeherdercomm-beta@9f2029d7b5ff [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs658503
fix build bustage, bug 658503
mailnews/imap/src/nsImapProtocol.cpp
--- a/mailnews/imap/src/nsImapProtocol.cpp
+++ b/mailnews/imap/src/nsImapProtocol.cpp
@@ -1254,17 +1254,17 @@ nsImapProtocol::TellThreadToDie()
                 nsImapServerResponseParser::kFolderSelected && m_safeToCloseConnection;
   nsCString command;
   // if a url is writing data, we can't even logout, so we're just
   // going to close the connection as if the user pressed stop.
   if (m_currentServerCommandTagNumber > 0 && !urlWritingData)
   {
     PRBool isAlive = PR_FALSE;
     if (m_transport)
-      rv = m_transport->IsAlive(&isAlive);
+      rv = m_transport->IsAlive(PR_FALSE, &isAlive);
 
     if (TestFlag(IMAP_CONNECTION_IS_OPEN) && m_idle && isAlive)
       EndIdle(PR_FALSE);
 
     if (NS_SUCCEEDED(rv) && isAlive && closeNeeded && GetDeleteIsMoveToTrash() &&
         TestFlag(IMAP_CONNECTION_IS_OPEN) && m_outputStream)
       Close(PR_TRUE, connectionIdle);
 
@@ -2215,17 +2215,17 @@ NS_IMETHODIMP nsImapProtocol::CanHandleU
   if (!m_transport)
   {
     // this connection might not be fully set up yet.
     return NS_ERROR_FAILURE;
   }
   else if (m_currentServerCommandTagNumber != 0)
   {
     PRBool isAlive;
-    rv = m_transport->IsAlive(&isAlive);
+    rv = m_transport->IsAlive(PR_FALSE, &isAlive);
     // if the transport is not alive, and we've ever sent a command with this connection, kill it.
     // otherwise, we've probably just not finished setting it so don't kill it!
     if (NS_FAILED(rv) || !isAlive)
     {
       MutexAutoUnlock unlock(mLock); // TellThreadToDie gets the lock
       TellThreadToDie(PR_FALSE);
       return NS_ERROR_FAILURE;
     }