From 36fff814bf588307c877d65277283abea9a11225 Mon Sep 17 00:00:00 2001 From: thisgun Date: Wed, 6 Sep 2017 16:38:23 +0900 Subject: [PATCH] =?UTF-8?q?get=5Fsock=20=ED=95=A8=EC=88=98=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/common.lib.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/common.lib.php b/lib/common.lib.php index 72801dc7f..4f86541d3 100644 --- a/lib/common.lib.php +++ b/lib/common.lib.php @@ -2666,7 +2666,10 @@ if (!function_exists("get_sock")) { $fp = fsockopen ($host, 80, $errno, $errstr, 30); if (!$fp) { - die("$errstr ($errno)\n"); + //die("$errstr ($errno)\n"); + + echo "$errstr ($errno)\n"; + return null; } else {