зеркало из https://github.com/mozilla/gecko-dev.git
Fix linux warning.
This commit is contained in:
Родитель
f2bf012d3c
Коммит
11da7e4372
|
@ -137,7 +137,7 @@ PRInt32 nsMsgProtocol::SendData(nsIURI * aURL, const char * dataBuffer)
|
|||
// NS_PRECONDITION(m_outputStream, "oops....we don't have an output stream...how did that happen?");
|
||||
if (dataBuffer && m_outputStream)
|
||||
{
|
||||
nsresult rv = m_outputStream->Write(dataBuffer, PL_strlen(dataBuffer), &writeCount);
|
||||
status = m_outputStream->Write(dataBuffer, PL_strlen(dataBuffer), &writeCount);
|
||||
}
|
||||
|
||||
return status;
|
||||
|
|
|
@ -103,7 +103,7 @@ bridge_new_new_uri(void *bridgeStream, nsIURI *aURI)
|
|||
PR_FREEIF(msd->url_name);
|
||||
msd->url_name = PL_strdup(urlString);
|
||||
if (!(msd->url_name))
|
||||
return MIME_OUT_OF_MEMORY;
|
||||
return NS_ERROR_OUT_OF_MEMORY;
|
||||
|
||||
PR_FREEIF(urlString);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче