From b2b998352dc6c048cb367607cdf3db455dea365a Mon Sep 17 00:00:00 2001 From: jangliss Date: Mon, 18 Nov 2002 06:26:52 +0000 Subject: [PATCH] Okay... *this* is the one with debugging code, the last was some minor display corrections git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4172 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- plugins/mail_fetch/class.POP3.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/mail_fetch/class.POP3.php b/plugins/mail_fetch/class.POP3.php index dcb9e1b4..7d266a47 100644 --- a/plugins/mail_fetch/class.POP3.php +++ b/plugins/mail_fetch/class.POP3.php @@ -83,7 +83,7 @@ class POP3 { } $fp = fsockopen("$server", $port, $errno, $errstr); - echo 'Server: ' . $server . '
Port: ' . $port; + if(!$fp) { $this->ERROR = _("POP3 connect:") . ' ' . _("Error ") . "[$errno] [$errstr]"; unset($this->FP); -- 2.25.1