aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2010-11-25 16:15:44 -0800
committerFriendika <info@friendika.com>2010-11-25 16:15:44 -0800
commit289a0dc2685f2d26aa39f2ffb10db7d2c929e8db (patch)
tree7985cefad12feb20adae7ed18504dd14fde337d4
parent555c377fdac1703d640643bcedadff8d90721bec (diff)
downloadvolse-hubzilla-289a0dc2685f2d26aa39f2ffb10db7d2c929e8db.tar.gz
volse-hubzilla-289a0dc2685f2d26aa39f2ffb10db7d2c929e8db.tar.bz2
volse-hubzilla-289a0dc2685f2d26aa39f2ffb10db7d2c929e8db.zip
curl_code tests
-rw-r--r--boot.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/boot.php b/boot.php
index bd8ddeeaa..c5ce3bed3 100644
--- a/boot.php
+++ b/boot.php
@@ -423,8 +423,6 @@ function fetch_url($url,$binary = false, &$redirects = 0) {
$s = curl_exec($ch);
-// logger('Curl ' . curl_getinfo($ch,CURLINFO_HTTP_CODE));
-
$http_code = intval(curl_getinfo($ch, CURLINFO_HTTP_CODE));
$header = substr($s,0,strpos($s,"\r\n\r\n"));
if(stristr($header,'100') && (strlen($header) < 30)) {