Improved reachable check

This commit is contained in:
Michael Vogel 2015-11-03 01:10:07 +01:00
parent f48b4ae535
commit ba560c191b

View File

@ -1715,8 +1715,7 @@ function pumpio_fetchallcomments(&$a, $uid, $id) {
function pumpio_reachable($url) {
$data = z_fetch_url($url, false, $redirects, array('timeout'=>10));
return($data['success']);
return(intval($data['return_code']) != 0);
}
/*