fix warnings.

git-svn-id: svn://10.0.0.236/trunk@53041 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
sspitzer%netscape.com
1999-11-10 00:12:22 +00:00
parent ae26eeb260
commit f172a4e37a

View File

@@ -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
}