thomas: server/kolab-resource-handlers/kolab-resource-handlers/resmgr kolabmailtransport.php, 1.9, 1.10
cvs at kolab.org
cvs at kolab.org
Wed Jul 19 19:54:21 CEST 2006
Author: thomas
Update of /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/resmgr
In directory doto:/tmp/cvs-serv1530
Modified Files:
kolabmailtransport.php
Log Message:
Don't add empty lines at the end of mails delivered via LMTP (Fixes Issue1042)
Index: kolabmailtransport.php
===================================================================
RCS file: /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/resmgr/kolabmailtransport.php,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- kolabmailtransport.php 22 May 2006 10:49:29 -0000 1.9
+++ kolabmailtransport.php 19 Jul 2006 17:54:18 -0000 1.10
@@ -109,8 +109,8 @@
if( $this->got_newline && $data[0] == '.' ) $data = '.'.$data;
$data = str_replace("\n.", "\n..", $data);
$len = strlen($data);
- if( $len>0 && $data[$len-1] == "\n" ) $this->got_newline = true;
- else $this->got_newline = false;
+ if( $len > 0 )
+ $this->got_newline = ( $data[$len-1] == "\n" );
}
function data( $data) {
More information about the commits
mailing list