Commit: 1e58ee7e3f2501e35da0bf9b172e1defefec656a Author: Ferenc Kovacs <[email protected]> Fri, 15 Feb 2013 21:24:00 +0100 Parents: fa34022553f2fdecb81990b56de0437ec5055254 Branches: master
Link: http://git.php.net/?p=web/master.git;a=commitdiff;h=1e58ee7e3f2501e35da0bf9b172e1defefec656a Log: more descriptive error message Changed paths: M scripts/mirror-test Diff: diff --git a/scripts/mirror-test b/scripts/mirror-test index 58116c2..2a6d5b7 100755 --- a/scripts/mirror-test +++ b/scripts/mirror-test @@ -47,7 +47,7 @@ function host_has_error($hostname, $filename, &$data, &$problem, $spoofed_hostna // If we were unable to open the port, continue with the next mirror if (!$fp) { - $problem = "Unable to connect."; + $problem = "Unable to connect: {$errstr}({$errno})."; return TRUE; } -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
