[M-git] Mahogany sources repository. branch master updated. v0.67-729-g0d0ad54

"Nerijus Bali??nas" <[email protected]> Tue, 29 Mar 2016 12:37:32 +0000
Newsgroups gmane.mail.mahogany.cvs
Message-ID <[email protected]>
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Mahogany sources repository.".

The branch, master has been updated
       via  0d0ad547e26c8cc89b6c43ccd403c21ade2dedcb (commit)
      from  899afa9f6fadefcc59159fd68c9be8b6d1b2a611 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 0d0ad547e26c8cc89b6c43ccd403c21ade2dedcb
Author: Nerijus Baliunas <[email protected]>
Date:   Tue Mar 29 15:37:22 2016 +0300

    replaced ASSERT_MSG with ERRORMESSAGE, as mail_fetchstructure() can fail

diff --git a/src/mail/MessageCC.cpp b/src/mail/MessageCC.cpp
index 7d48d84..37e3045 100644
--- a/src/mail/MessageCC.cpp
+++ b/src/mail/MessageCC.cpp
@@ -735,7 +735,10 @@ MessageCC::GetBody(void)
                                          FT_UID);
    m_folder->UnLock();
 
-   ASSERT_MSG( m_Body && m_Envelope, _T("failed to get body and envelope!") );
+   if ( !(m_Body && m_Envelope) )
+   {
+   ERRORMESSAGE((_T("failed to get body and envelope!")));
+   }
 }
 
 MESSAGECACHE *

-----------------------------------------------------------------------

Summary of changes:
 src/mail/MessageCC.cpp |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Mahogany sources repository.

------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140