diff --git a/mailnews/compose/src/nsSmtpProtocol.cpp b/mailnews/compose/src/nsSmtpProtocol.cpp
index 807cd9d97ed29a124691dbc78e31fa20cb4032f8..a9df5364abe24cb8bfa0da48b27ad8aae2bb2d93 100644
--- a/mailnews/compose/src/nsSmtpProtocol.cpp
+++ b/mailnews/compose/src/nsSmtpProtocol.cpp
@@ -510,7 +510,7 @@ PRInt32 nsSmtpProtocol::SmtpResponse(nsIInputStream * inputStream, PRUint32 leng
   if (m_responseCode == 220)
   { // fisrt time we connect to the server; check for the greeting if it is a
     // ESMTP server set capability accordingly
-      if (m_responseText && nsCRT::strlen(m_responseText))
+      if (nsCRT::strlen(m_responseText))
       {
           if (TestFlag(nsISmtpServer::cap_undefined) && m_runningURL)
           {