fix warnings.
git-svn-id: svn://10.0.0.236/trunk@53041 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -335,7 +335,7 @@ nsresult
|
||||
nsNNTPHost::WriteIfDirty()
|
||||
{
|
||||
if (m_dirty) return WriteNewsrc();
|
||||
return 0;
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
||||
@@ -356,7 +356,7 @@ nsNNTPHost::WriteTimer(void* closure)
|
||||
{
|
||||
nsNNTPHost* host = (nsNNTPHost*) closure;
|
||||
host->m_writetimer = nsnull;
|
||||
if (host->WriteNewsrc() < 0) {
|
||||
if (NS_FAILED(host->WriteNewsrc())) {
|
||||
// ###tw Pop up error message???
|
||||
host->MarkDirty(); // Cause us to try again. Or is this bad? ###tw
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user