From 3f8955555256fbf1059cf456bd52ecc2beef474a Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Thu, 26 Mar 2009 19:21:14 -0600 Subject: [PATCH] Logging tweak --- framework/Imap_Client/lib/Horde/Imap/Client/Socket.php | 5 +++++ 1 file changed, 5 insertions(+) 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(). -- 2.11.0