зеркало из https://github.com/mozilla/pjs.git
fix build problem on windows
This commit is contained in:
Родитель
01d3e2ea30
Коммит
7a88b22f67
|
@ -203,7 +203,7 @@ NS_IMETHODIMP nsMailboxProtocol::OnStopBinding(nsIURL* aURL, nsresult aStatus, c
|
|||
{
|
||||
nsFilePath filePath(MESSAGE_PATH);
|
||||
nsFileURL fileURL(filePath);
|
||||
const char * message_path_url = PL_strdup(fileURL.GetAsString());
|
||||
char * message_path_url = PL_strdup(fileURL.GetAsString());
|
||||
|
||||
m_displayConsumer->LoadURL(nsAutoString(message_path_url), nsnull, PR_TRUE, nsURLReload, 0);
|
||||
|
||||
|
@ -528,7 +528,7 @@ PRInt32 nsMailboxProtocol::ReadMessageResponse(nsIInputStream * inputStream, PRU
|
|||
{
|
||||
nsFilePath filePath(MESSAGE_PATH);
|
||||
nsFileURL fileURL(filePath);
|
||||
const char * message_path_url = PL_strdup(fileURL.GetAsString());
|
||||
char * message_path_url = PL_strdup(fileURL.GetAsString());
|
||||
|
||||
m_displayConsumer->LoadURL(nsAutoString(message_path_url), nsnull, PR_TRUE, nsURLReload, 0);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче