aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-02-27 16:27:37 -0800
committerredmatrix <git@macgirvin.com>2016-02-27 16:27:37 -0800
commitf7f20c5917a8e381118cc13fade0dbc3da2423ee (patch)
tree62a018fab9a0d3b8bc089d681e5b2d8876b9216d
parent6126070a1d53c3ef4f59c8a0a6160610ef16563c (diff)
downloadvolse-hubzilla-f7f20c5917a8e381118cc13fade0dbc3da2423ee.tar.gz
volse-hubzilla-f7f20c5917a8e381118cc13fade0dbc3da2423ee.tar.bz2
volse-hubzilla-f7f20c5917a8e381118cc13fade0dbc3da2423ee.zip
z_fetch_url and z_post_url returning false
-rw-r--r--include/network.php4
-rw-r--r--version.inc2
2 files changed, 3 insertions, 3 deletions
diff --git a/include/network.php b/include/network.php
index ecaf4e05f..93fd836f8 100644
--- a/include/network.php
+++ b/include/network.php
@@ -40,7 +40,7 @@ function z_fetch_url($url, $binary = false, $redirects = 0, $opts = array()) {
$ch = @curl_init($url);
if(($redirects > 8) || (! $ch))
- return false;
+ return $ret;
@curl_setopt($ch, CURLOPT_HEADER, true);
@curl_setopt($ch, CURLINFO_HEADER_OUT, true);
@@ -171,7 +171,7 @@ function z_post_url($url,$params, $redirects = 0, $opts = array()) {
$ch = curl_init($url);
if(($redirects > 8) || (! $ch))
- return ret;
+ return $ret;
@curl_setopt($ch, CURLOPT_HEADER, true);
@curl_setopt($ch, CURLINFO_HEADER_OUT, true);
diff --git a/version.inc b/version.inc
index 65b18f0bb..24a246ad6 100644
--- a/version.inc
+++ b/version.inc
@@ -1 +1 @@
-2016-02-26.1319H
+2016-02-27.1320H