Update of /cvsroot/mahogany/M/src/mail
In directory usw-pr-cvs1:/tmp/cvs-serv3566/src/mail

Modified Files:
        SendMessageCC.cpp 
Log Message:
removed/fixed a few misleading asserts

Index: SendMessageCC.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/mail/SendMessageCC.cpp,v
retrieving revision 1.185
retrieving revision 1.186
diff -b -u -2 -r1.185 -r1.186
--- SendMessageCC.cpp   19 Mar 2002 00:43:46 -0000      1.185
+++ SendMessageCC.cpp   29 Mar 2002 10:31:41 -0000      1.186
@@ -734,5 +734,4 @@
    // anything.
    ASSERT(m_headerNames == NULL);
-   ASSERT(m_Protocol == Prot_SMTP || m_Protocol == Prot_Sendmail);
 
    SetAddressField(&m_Envelope->to, to);
@@ -749,5 +748,8 @@
    // anything.
    ASSERT(m_headerNames == NULL);
-   ASSERT(m_Protocol == Prot_NNTP);
+
+   // TODO-NEWS: we should support sending and posting the message, doing
+   //            it separately if necessary
+   ASSERT_MSG( m_Protocol == Prot_NNTP, "can't post and send message" );
 
    if(groups.Length())


_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to