Revision: 7365
          http://mahogany.svn.sourceforge.net/mahogany/?rev=7365&view=rev
Author:   vadz
Date:     2007-09-07 15:32:32 -0700 (Fri, 07 Sep 2007)

Log Message:
-----------
give a user-visible error message if decoding a base64-encoded message part 
failed, this can indicate a corrupted message

Modified Paths:
--------------
    trunk/M/src/mail/MimePartCCBase.cpp

Modified: trunk/M/src/mail/MimePartCCBase.cpp
===================================================================
--- trunk/M/src/mail/MimePartCCBase.cpp 2007-09-07 22:27:15 UTC (rev 7364)
+++ trunk/M/src/mail/MimePartCCBase.cpp 2007-09-07 22:32:32 UTC (rev 7365)
@@ -451,7 +451,8 @@
          m_content = rfc822_base64(text, size, lenptr);
          if ( !m_content )
          {
-            wxLogDebug(_T("rfc822_base64() failed"));
+            wxLogWarning(_("Failed to decode binary message part, "
+                           "message could be corrupted."));
 
             // use original text: this is better than nothing and can be
             // exactly what we need in case of messages generated with base64


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Mahogany-cvsupdates mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to