From 6cf765e850c55fb2a232e17094c564feaab3b045 Mon Sep 17 00:00:00 2001 From: "mscott%netscape.com" Date: Tue, 5 Oct 1999 20:48:37 +0000 Subject: [PATCH] Bug #14739 --> fix use of unitiailized variable. r=sspitzer --- mailnews/news/src/nsNNTPProtocol.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/mailnews/news/src/nsNNTPProtocol.cpp b/mailnews/news/src/nsNNTPProtocol.cpp index bf23bf0246f..6fb93b43ac2 100644 --- a/mailnews/news/src/nsNNTPProtocol.cpp +++ b/mailnews/news/src/nsNNTPProtocol.cpp @@ -4958,10 +4958,8 @@ nsresult nsNNTPProtocol::CloseSocket() int status; nsresult rv; /* XXX - how/when to Release() this? */ - rv = m_newsgroupList->FinishXOVERLINE(status,&status); + rv = m_newsgroupList->FinishXOVERLINE(0,&status); NS_ASSERTION(NS_SUCCEEDED(rv), "FinishXOVERLINE failed"); - if (NS_SUCCEEDED(rv) && status >= 0 && status < 0) - status = status; } else {