From 9b913c02f4ad1697cacd873b50a60d187be2787f Mon Sep 17 00:00:00 2001 From: "bienvenu%netscape.com" Date: Wed, 7 Jul 1999 04:01:38 +0000 Subject: [PATCH] work around 9306, unable to load more than one message --- mailnews/imap/src/nsImapMailFolder.cpp | 2 +- mailnews/local/src/nsMailboxProtocol.cpp | 2 +- mailnews/news/src/nsNNTPProtocol.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mailnews/imap/src/nsImapMailFolder.cpp b/mailnews/imap/src/nsImapMailFolder.cpp index 3299fe75459..30f6aea2160 100644 --- a/mailnews/imap/src/nsImapMailFolder.cpp +++ b/mailnews/imap/src/nsImapMailFolder.cpp @@ -2074,7 +2074,7 @@ nsImapMailFolder::NormalEndMsgWriteStream(nsIImapProtocol* aProtocol) nsFileURL fileURL(filePath); char * message_path_url = PL_strdup(fileURL.GetAsString()); - res = webShell->LoadURL(nsAutoString(message_path_url).GetUnicode(), nsnull, PR_TRUE, nsURLReload, 0); + res = webShell->LoadURL(nsAutoString(message_path_url).GetUnicode(), nsnull, PR_TRUE, nsURLReloadBypassCache, 0); PR_FREEIF(message_path_url); } diff --git a/mailnews/local/src/nsMailboxProtocol.cpp b/mailnews/local/src/nsMailboxProtocol.cpp index 22fdb9011a0..b8786e07da7 100644 --- a/mailnews/local/src/nsMailboxProtocol.cpp +++ b/mailnews/local/src/nsMailboxProtocol.cpp @@ -170,7 +170,7 @@ PRInt32 nsMailboxProtocol::DoneReadingMessage() nsFileURL fileURL(filePath); char * message_path_url = PL_strdup(fileURL.GetAsString()); - rv = m_displayConsumer->LoadURL(nsAutoString(message_path_url).GetUnicode(), nsnull, PR_TRUE, nsURLReload, 0); + rv = m_displayConsumer->LoadURL(nsAutoString(message_path_url).GetUnicode(), nsnull, PR_TRUE, nsURLReloadBypassCache, 0); PR_FREEIF(message_path_url); diff --git a/mailnews/news/src/nsNNTPProtocol.cpp b/mailnews/news/src/nsNNTPProtocol.cpp index b027d78511a..a440a44759f 100644 --- a/mailnews/news/src/nsNNTPProtocol.cpp +++ b/mailnews/news/src/nsNNTPProtocol.cpp @@ -2126,7 +2126,7 @@ PRInt32 nsNNTPProtocol::ReadArticle(nsIInputStream * inputStream, PRUint32 lengt printf("load this url to display the message: %s\n", article_path_url); #endif - m_displayConsumer->LoadURL(nsAutoString(article_path_url).GetUnicode(), nsnull, PR_TRUE, nsURLReload, 0); + m_displayConsumer->LoadURL(nsAutoString(article_path_url).GetUnicode(), nsnull, PR_TRUE, nsURLReloadBypassCache, 0); PR_FREEIF(article_path_url); }