From 289a0dc2685f2d26aa39f2ffb10db7d2c929e8db Mon Sep 17 00:00:00 2001 From: Friendika Date: Thu, 25 Nov 2010 16:15:44 -0800 Subject: [PATCH] curl_code tests --- boot.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/boot.php b/boot.php index bd8ddeeaa2..c5ce3bed32 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)) {