From 0ae3f26dfa2e2e8298e4761ff0ae2c893e335802 Mon Sep 17 00:00:00 2001 From: "bienvenu%netscape.com" Date: Mon, 16 Jul 2001 19:46:10 +0000 Subject: [PATCH] fix 90772 rs=sspitzer, offline download stalling if you have a local folders account git-svn-id: svn://10.0.0.236/trunk@99327 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/mailnews/local/src/nsNoIncomingServer.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/mozilla/mailnews/local/src/nsNoIncomingServer.cpp b/mozilla/mailnews/local/src/nsNoIncomingServer.cpp index 164df31297d..696f3d9a252 100644 --- a/mozilla/mailnews/local/src/nsNoIncomingServer.cpp +++ b/mozilla/mailnews/local/src/nsNoIncomingServer.cpp @@ -251,9 +251,12 @@ NS_IMETHODIMP nsNoIncomingServer::CreateDefaultMailboxes(nsIFileSpec *path) } NS_IMETHODIMP nsNoIncomingServer::GetNewMail(nsIMsgWindow *aMsgWindow, nsIUrlListener *aUrlListener, nsIMsgFolder *aInbox, nsIURI **aResult) -{ - // do nothing, there is no new mail for this incoming server, ever. - return NS_OK; +{ + // listener might be counting on us to send a notification. + if (aUrlListener) + aUrlListener->OnStopRunningUrl(nsnull, NS_OK); + // do nothing, there is no new mail for this incoming server, ever. + return NS_OK; } // the "none" server does not support filters, because