From: <sy...@us...> - 2004-09-20 13:10:46
|
Update of /cvsroot/tikiwiki/tiki/lib/webmail In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30292/lib/webmail Modified Files: Tag: BRANCH-1-9 pop3.php Log Message: reactivate a trace very useful to debug pop3 Index: pop3.php =================================================================== RCS file: /cvsroot/tikiwiki/tiki/lib/webmail/pop3.php,v retrieving revision 1.14.2.1 retrieving revision 1.14.2.2 diff -u -d -r1.14.2.1 -r1.14.2.2 --- pop3.php 26 Aug 2004 17:39:14 -0000 1.14.2.1 +++ pop3.php 20 Sep 2004 13:10:27 -0000 1.14.2.2 @@ -53,7 +53,7 @@ $this->has_error = true; // echo "<center>\n"; - // echo "<b>Error:</b> $error\n"; + if ($this->DEBUG) echo "<b>Error:</b> $error\n"; // echo "</center>\n"; $this->CloseConnection(); //if ($this->exit) exit; @@ -64,7 +64,6 @@ if ($this->DEBUG) {echo "<b>Sending Command: </b>".$command."<br>";flush();} @fputs($this->connection, "$command\r\n"); $result = @fgets($this->connection, 10485760); - if (eregi("^(\+OK)", $result)) { if ($this->DEBUG) {echo "<b>Result OK: </b><br>";flush();} |