diff --git a/mailnews/news/src/nsNNTPProtocol.cpp b/mailnews/news/src/nsNNTPProtocol.cpp index 7e784abdedd..7803838b728 100644 --- a/mailnews/news/src/nsNNTPProtocol.cpp +++ b/mailnews/news/src/nsNNTPProtocol.cpp @@ -472,7 +472,7 @@ PRInt32 nsNNTPProtocol::LoadURL(nsIURL * aURL, nsISupports * aConsumer) PRBool cancel = FALSE; char* colon; nsINNTPNewsgroupPost *message=NULL; - char *message_id = 0; + //char *message_id = 0; nsresult rv = NS_OK; diff --git a/mailnews/news/tests/nntp/nntpTest.cpp b/mailnews/news/tests/nntp/nntpTest.cpp index f80c63088d1..d0e677e890d 100644 --- a/mailnews/news/tests/nntp/nntpTest.cpp +++ b/mailnews/news/tests/nntp/nntpTest.cpp @@ -233,9 +233,9 @@ nsNntpTestDriver::InitializeProtocol(const char * urlString) return rv; } - //m_url->foobar(urlString); + m_url->SetSpec(urlString); - // now create a protocl instance... + // now create a protocol instance... m_nntpProtocol = new nsNNTPProtocol(m_url, m_transport); m_protocolInitialized = PR_TRUE;