Bug 797600 - Don't special-case 502 response codes for NNTP. r=Neil,a=Standard8
authorJoshua Cranmer <Pidgeot18@gmail.com>
Tue, 16 Oct 2012 09:14:14 -0500
changeset 13512 6d48a6da4e202197fd56e6a5df2955c08bc3604f
parent 13511 12beb6415d46d8fa879a96bbd819720406572717
child 13513 4a95ecbb75f2672012160956ebe6526421704eb0
push idunknown
push userunknown
push dateunknown
reviewersNeil, Standard8
bugs797600
Bug 797600 - Don't special-case 502 response codes for NNTP. r=Neil,a=Standard8
mailnews/news/src/nsNNTPProtocol.cpp
--- a/mailnews/news/src/nsNNTPProtocol.cpp
+++ b/mailnews/news/src/nsNNTPProtocol.cpp
@@ -1338,21 +1338,16 @@ int32_t nsNNTPProtocol::NewsResponse(nsI
 
   /* authentication required can come at any time
   */
   if (MK_NNTP_RESPONSE_AUTHINFO_REQUIRE == m_responseCode ||
     MK_NNTP_RESPONSE_AUTHINFO_SIMPLE_REQUIRE == m_responseCode)
   {
     m_nextState = NNTP_BEGIN_AUTHORIZE;
   }
-  else if (MK_NNTP_RESPONSE_PERMISSION_DENIED == m_responseCode)
-  {
-    PR_FREEIF(line);
-    return (0);
-  }
   else {
     m_nextState = m_nextStateAfterResponse;
   }
 
   PR_FREEIF(line);
   return(0);  /* everything ok */
 }