[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kmail-devel
Subject:    period problem
From:       Daniel Naber <dnaber () mini ! gt ! owl ! de>
Date:       2000-07-30 0:03:27
[Download RAW message or body]

Hi,

this might fix the outgoing mail problem with a dot at the beginning of 
the line. The RFC only talks about the *first* character in a line, the 
others don't seems to play a role, so I removed the second if-condition.

Incoming mail should probably be handled in KMMessage::fromString(),
but I don't want to touch that (ugly C stlyle code...)

Don, can you check my mini patch (not yet applied)?

Regards
 Daniel

["period.diff" (text/plain)]

--- kmsender.cpp.bak	Sun Jul 30 01:54:32 2000
+++ kmsender.cpp	Sun Jul 30 01:55:03 2000
@@ -618,7 +618,7 @@
     {
       if (toCRLF) str += '\r';
       str += c;
-      if (aStr[pos+1]=='.' && aStr[pos+2]<=' ')
+      if (aStr[pos+1]=='.')
       {
 	pos++;
 	str += '.';


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic