aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-01-30 14:21:32 -0800
committerfriendica <info@friendica.com>2014-01-30 14:21:32 -0800
commit70de97fca17bac28e174373cd03581b5bae0c471 (patch)
treee8b9c70dd3e93f8d98430e1baea83df88740c8bf /include
parentf2f18578764ed3fce785f7414194ddcae9f0ebf2 (diff)
parentc0f02d774a0af0f0959a7690dadb30586ee0b6b1 (diff)
downloadvolse-hubzilla-70de97fca17bac28e174373cd03581b5bae0c471.tar.gz
volse-hubzilla-70de97fca17bac28e174373cd03581b5bae0c471.tar.bz2
volse-hubzilla-70de97fca17bac28e174373cd03581b5bae0c471.zip
Merge pull request #293 from MicMee/master
more progress in admin to maintain hubloc with ping
Diffstat (limited to 'include')
-rw-r--r--include/network.php6
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);