]> git.mxchange.org Git - friendica.git/blobdiff - include/network.php
Merge remote-tracking branch 'upstream/develop' into 1701-performance
[friendica.git] / include / network.php
index 03f65a5190a08182d11939f30b0eb031ab955a94..984ee8733761149df67de5c9bff06cd9af84f101 100644 (file)
@@ -141,6 +141,8 @@ function z_fetch_url($url,$binary = false, &$redirects = 0, $opts=array()) {
                logger('fetch_url error fetching '.$url.': '.curl_error($ch), LOGGER_NORMAL);
        }
 
+       $ret['errno'] = curl_errno($ch);
+
        $base = $s;
        $curl_info = @curl_getinfo($ch);