зеркало из https://github.com/mozilla/gecko-dev.git
fix build problem on windows
This commit is contained in:
Родитель
04b6780a88
Коммит
949719da80
|
@ -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);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче