SF.net SVN: mahogany:[7542] trunk/M/src
[email protected] Fri, 08 Aug 2008 00:00:59 +0000
| Newsgroups | gmane.mail.mahogany.cvs |
|---|---|
| Message-ID | <[email protected]> |
Revision: 7542
http://mahogany.svn.sourceforge.net/mahogany/?rev=7542&view=rev
Author: vadz
Date: 2008-08-08 00:00:58 +0000 (Fri, 08 Aug 2008)
Log Message:
-----------
oops, and now a compilation fix after r7541
Modified Paths:
--------------
trunk/M/src/mail/SendMessageCC.cpp
trunk/M/src/util/strutil.cpp
Modified: trunk/M/src/mail/SendMessageCC.cpp
===================================================================
--- trunk/M/src/mail/SendMessageCC.cpp 2008-08-07 23:57:45 UTC (rev 7541)
+++ trunk/M/src/mail/SendMessageCC.cpp 2008-08-08 00:00:58 UTC (rev 7542)
@@ -688,7 +688,7 @@
// If it can be sent as 7 bit also enforce the CR LF as line end terminators as
// c-client doesn't apply any transformation to 7 bit data and sending CR (or
// LF) delimited data violates RFC 2822.
-static bool CanSendAs7BitText(const unsigned char *& text, size_t& len)
+static bool CanSendAs7BitText(unsigned char *& text, size_t& len)
{
if ( !text )
return true;
Modified: trunk/M/src/util/strutil.cpp
===================================================================
--- trunk/M/src/util/strutil.cpp 2008-08-07 23:57:45 UTC (rev 7541)
+++ trunk/M/src/util/strutil.cpp 2008-08-08 00:00:58 UTC (rev 7542)
@@ -494,11 +494,11 @@
bool
-strutil_enforceCRLF(char *out, size_t outLen, const char *in)
+strutil_enforceCRLF(unsigned char *out, size_t outLen, const unsigned char *in)
{
- for ( char * const outEnd = out + outLen; out != outEnd; )
+ for ( unsigned char * const outEnd = out + outLen; out != outEnd; )
{
- switch ( char ch = *in++ )
+ switch ( unsigned char ch = *in++ )
{
case '\0':
*out = '\0';
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 the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/