SF.net SVN: mahogany: [7239] trunk/M/src/mail/MailFolderCC.cpp

[email protected]
Newsgroups gmane.mail.mahogany.cvs
Message-ID <[email protected]>
Revision: 7239
          http://svn.sourceforge.net/mahogany/?rev=7239&view=rev
Author:   vadz
Date:     2007-04-23 17:00:49 -0700 (Mon, 23 Apr 2007)

Log Message:
-----------
use correct pointer into string in DecodeHeaderOnce()

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

Modified: trunk/M/src/mail/MailFolderCC.cpp
===================================================================
--- trunk/M/src/mail/MailFolderCC.cpp	2007-04-23 20:29:44 UTC (rev 7238)
+++ trunk/M/src/mail/MailFolderCC.cpp	2007-04-24 00:00:49 UTC (rev 7239)
@@ -1707,7 +1707,7 @@
             {
                strWithoutUnderscores = String(pEncTextStart, lenEncWord);
                strWithoutUnderscores.Replace(_T("_"), _T(" "));
-               start = (unsigned char *)(char *)strWithoutUnderscores.char_str();
+               start = (unsigned char *)(const char *)strWithoutUnderscores;
             }
 
             text = rfc822_qprint(start, lenEncWord, &len);


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 DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.