forgot to fix review nits in prev checkin for 466318
authorDavid Bienvenu <bienvenu@nventure.com>
Wed, 18 Mar 2009 07:23:18 -0700
changeset 2237 f041800b9e972d1df2820371d935a925b2f153c8
parent 2236 314a95d2259148da448da215444487338d2df6dd
child 2238 55d050eb1dcac4b1da01d2c9ae238f1f0a71ff7d
push idunknown
push userunknown
push dateunknown
bugs466318
forgot to fix review nits in prev checkin for 466318
mailnews/imap/public/nsIImapServerSink.idl
mailnews/imap/src/nsImapProtocol.cpp
--- a/mailnews/imap/public/nsIImapServerSink.idl
+++ b/mailnews/imap/public/nsIImapServerSink.idl
@@ -67,16 +67,17 @@ interface nsIImapServerSink : nsISupport
    *
    * @param  aImapUrl - url we're going to retry
    *
    * @returns - channel to associate with the url. We return this
    *            because access to the channel should only happen on
    *            the ui thread.
    */
   nsIImapMockChannel prepareToRetryUrl(in nsIImapUrl aImapUrl);
+
   /*
    * Retry the current url
    * 
    * @param  aImapUrl - url to retry
    * @param  aChannel - channel to associate with the url 
    */
   void retryUrl(in nsIImapUrl aImapUrl, in nsIImapMockChannel aChannel);
   // if previous url failed, this gives server chance to abort urls with same mock channel
--- a/mailnews/imap/src/nsImapProtocol.cpp
+++ b/mailnews/imap/src/nsImapProtocol.cpp
@@ -1778,17 +1778,17 @@ PRBool nsImapProtocol::ProcessCurrentURL
 PRBool nsImapProtocol::RetryUrl()
 {
   nsAutoCMonitor mon(this);
   nsCOMPtr <nsIImapUrl> kungFuGripImapUrl = m_runningUrl;
   nsCOMPtr <nsIImapMockChannel> saveMockChannel;
   if (m_imapServerSink)
   {
     nsresult rv = m_imapServerSink->PrepareToRetryUrl(kungFuGripImapUrl, getter_AddRefs(saveMockChannel));
-  // the channel might have gone away - we'll just not retry in that case.
+    // the channel might have gone away - we'll just not retry in that case.
     NS_ENSURE_SUCCESS(rv, PR_FALSE);
   }
   ReleaseUrlState(PR_TRUE);
   nsresult rv;
   nsCOMPtr<nsIImapIncomingServer> imapServer  = do_QueryReferent(m_server, &rv);
   if (NS_SUCCEEDED(rv))
     imapServer->RemoveConnection(this);
   if (m_imapServerSink)