From 82f403aa59b5a339b617563c2bab587d959371b7 Mon Sep 17 00:00:00 2001 From: jangliss Date: Sun, 13 Jun 2004 23:16:46 +0000 Subject: [PATCH] Shouldn't let PHP generate an error in this case, if we are handling a connection failure git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@7636 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/imap_general.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/imap_general.php b/functions/imap_general.php index e6ce3ff1..a82b35bd 100755 --- a/functions/imap_general.php +++ b/functions/imap_general.php @@ -563,7 +563,7 @@ function sqimap_create_stream($server,$port,$tls=false) { } } - $imap_stream = fsockopen($server, $port, $error_number, $error_string, 15); + $imap_stream = @fsockopen($server, $port, $error_number, $error_string, 15); /* Do some error correction */ if (!$imap_stream) { -- 2.25.1