From: jangliss Date: Mon, 18 Nov 2002 06:26:52 +0000 (+0000) Subject: Okay... *this* is the one with debugging code, the last was some minor display correc... X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=b2b998352dc6c048cb367607cdf3db455dea365a;p=squirrelmail.git 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 --- 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);