From: Michael M Slusarz Date: Fri, 27 Mar 2009 01:21:14 +0000 (-0600) Subject: Logging tweak X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=3f8955555256fbf1059cf456bd52ecc2beef474a;p=horde.git Logging tweak --- diff --git a/framework/Imap_Client/lib/Horde/Imap/Client/Socket.php b/framework/Imap_Client/lib/Horde/Imap/Client/Socket.php index 15055e9e5..47e34ecc0 100644 --- a/framework/Imap_Client/lib/Horde/Imap/Client/Socket.php +++ b/framework/Imap_Client/lib/Horde/Imap/Client/Socket.php @@ -438,6 +438,11 @@ class Horde_Imap_Client_Socket extends Horde_Imap_Client_Base $this->_temp['no_cap'] = true; } + // Add separator to make it easier to read debug log. + if ($this->_debug) { + fwrite($this->_debug, str_repeat('-', 30) . "\n"); + } + // Get greeting information. This is untagged so we need to specially // deal with it here. A BYE response will be caught and thrown in // _getLine().