steffen: server/kolab-resource-handlers/kolab-resource-handlers/resmgr kolabmailtransport.php, 1.7, 1.8
cvs at intevation.de
cvs at intevation.de
Wed Mar 8 21:18:42 CET 2006
Author: steffen
Update of /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/resmgr
In directory doto:/tmp/cvs-serv30288/kolab-resource-handlers/kolab-resource-handlers/resmgr
Modified Files:
kolabmailtransport.php
Log Message:
Applied patch for issue1042 from bh and updated versions
Index: kolabmailtransport.php
===================================================================
RCS file: /kolabrepository/server/kolab-resource-handlers/kolab-resource-handlers/resmgr/kolabmailtransport.php,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- kolabmailtransport.php 28 Feb 2006 21:20:38 -0000 1.7
+++ kolabmailtransport.php 8 Mar 2006 20:18:40 -0000 1.8
@@ -120,7 +120,12 @@
}
function end() {
- if (PEAR::isError($this->transport->_send("\r\n.\r\n"))) {
+ if ($this->got_newline)
+ $dot = ".\r\n";
+ else
+ $dot = "\r\n.\r\n";
+
+ if (PEAR::isError($this->transport->_send($dot))) {
return new PEAR_Error('write to socket failed');
}
if (PEAR::isError($error = $this->transport->_parseResponse(250))) {
More information about the commits
mailing list