Update of /cvsroot/mahogany/M/src/mail
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19722/src/mail

Modified Files:
        MessageCC.cpp 
Log Message:
use raw text if base64 decoding failed

Index: MessageCC.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/mail/MessageCC.cpp,v
retrieving revision 1.149
retrieving revision 1.150
diff -b -u -2 -r1.149 -r1.150
--- MessageCC.cpp       24 Apr 2004 23:14:30 -0000      1.149
+++ MessageCC.cpp       15 May 2004 10:45:41 -0000      1.150
@@ -946,7 +946,12 @@
          if ( !m_partContentPtr )
          {
-            FAIL_MSG( _T("rfc822_base64() failed") );
+            wxLogDebug(_T("rfc822_base64() failed"));
 
+            // use original text: this is better than nothing and can be
+            // exactly what we need in case of messages generated with base64
+            // encoding in the headers but then sent as 8 it binary (old (circa
+            // 2003) versions of Thunderbird did this!)
             m_partContentPtr = text;
+            *lenptr = size;
          }
          else // ok



-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to