diff options
author | friendica <info@friendica.com> | 2014-01-30 14:37:50 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-01-30 14:37:50 -0800 |
commit | 2f876334d5d55282ef4705d80c975e508b52c343 (patch) | |
tree | ae13a518464da622b568fba41f4f68911bd9b5ce /include | |
parent | 0fae8acdefa26c19429ffef218066050d1ae825e (diff) | |
parent | 70de97fca17bac28e174373cd03581b5bae0c471 (diff) | |
download | volse-hubzilla-2f876334d5d55282ef4705d80c975e508b52c343.tar.gz volse-hubzilla-2f876334d5d55282ef4705d80c975e508b52c343.tar.bz2 volse-hubzilla-2f876334d5d55282ef4705d80c975e508b52c343.zip |
Merge https://github.com/friendica/red into zpull
Diffstat (limited to 'include')
-rw-r--r-- | include/network.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/network.php b/include/network.php index 3fe7f5400..1fb4beaa7 100644 --- a/include/network.php +++ b/include/network.php @@ -78,7 +78,7 @@ function z_fetch_url($url, $binary = false, $redirects = 0, $opts = array()) { @curl_setopt($ch, CURLOPT_BINARYTRANSFER,1); - // don't let curl abort the entire application + // don't let curl abort the entire application' // if it throws any errors. $s = @curl_exec($ch); @@ -86,7 +86,7 @@ function z_fetch_url($url, $binary = false, $redirects = 0, $opts = array()) { $base = $s; $curl_info = @curl_getinfo($ch); $http_code = $curl_info['http_code']; -// logger('fetch_url:' . $http_code . ' data: ' . $s); + //logger('fetch_url:' . $http_code . ' data: ' . $s); $header = ''; // Pull out multiple headers, e.g. proxy and continuation headers @@ -129,7 +129,7 @@ function z_fetch_url($url, $binary = false, $redirects = 0, $opts = array()) { function z_post_url($url,$params, $redirects = 0, $opts = array()) { - + $ret = array('return_code' => 0, 'success' => false, 'header' => "", 'body' => ""); $ch = curl_init($url); |