From 5f51e90caf6e4ada3f33369cb934bbabc698487b Mon Sep 17 00:00:00 2001 From: "sspitzer%netscape.com" Date: Tue, 1 Feb 2000 12:18:23 +0000 Subject: [PATCH] printfs hinting of work to come. --- mailnews/news/src/nsNNTPProtocol.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/mailnews/news/src/nsNNTPProtocol.cpp b/mailnews/news/src/nsNNTPProtocol.cpp index 762527ba913f..8d3c639723db 100644 --- a/mailnews/news/src/nsNNTPProtocol.cpp +++ b/mailnews/news/src/nsNNTPProtocol.cpp @@ -2499,12 +2499,15 @@ PRInt32 nsNNTPProtocol::AuthorizationResponse() } else { + /* login failed */ nsCOMPtr mailnewsurl = do_QueryInterface(m_runningURL); if (mailnewsurl) mailnewsurl->SetErrorMessage(NET_ExplainErrorDetails( MK_NNTP_AUTH_FAILED, m_responseText ? m_responseText : "")); + printf("TODO: bad username for news auth, remove entry in single signon database\n"); + return(MK_NNTP_AUTH_FAILED); } @@ -2553,12 +2556,15 @@ PRInt32 nsNNTPProtocol::PasswordResponse() } else { + /* login failed */ nsCOMPtr mailnewsurl = do_QueryInterface(m_runningURL); if (mailnewsurl) mailnewsurl->SetErrorMessage(NET_ExplainErrorDetails( MK_NNTP_AUTH_FAILED, m_responseText ? m_responseText : "")); + printf("TODO: bad password for news auth, remove entry in single signon database\n"); + return(MK_NNTP_AUTH_FAILED); }