Revision: 7247
http://svn.sourceforge.net/mahogany/?rev=7247&view=rev
Author: vadz
Date: 2007-04-26 17:09:07 -0700 (Thu, 26 Apr 2007)
Log Message:
-----------
fix incorrect use of char_str() in Send()
Modified Paths:
--------------
trunk/M/src/mail/SendMessageCC.cpp
Modified: trunk/M/src/mail/SendMessageCC.cpp
===================================================================
--- trunk/M/src/mail/SendMessageCC.cpp 2007-04-26 16:30:37 UTC (rev 7246)
+++ trunk/M/src/mail/SendMessageCC.cpp 2007-04-27 00:09:07 UTC (rev 7247)
@@ -1842,8 +1842,9 @@
#endif // USE_SSL
// prepare the hostlist for c-client: we use only one server
+ wxCharBuffer serverAsCharBuf(server.mb_str());
char *hostlist[2];
- hostlist[0] = server.char_str();
+ hostlist[0] = (char *)serverAsCharBuf.data();
hostlist[1] = NIL;
// preview message being sent if asked for it
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.