From: Andrew Dolgov Date: Fri, 18 Mar 2011 16:27:48 +0000 (+0300) Subject: fetch_file_contents: fix CURL option setting X-Git-Tag: 1.5.2~2 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=5f6804bc72e1ffb336772807566b2a966eeca074;p=tt-rss.git fetch_file_contents: fix CURL option setting --- diff --git a/functions.php b/functions.php index 2fe066f2..01500f3c 100644 --- a/functions.php +++ b/functions.php @@ -371,7 +371,7 @@ curl_setopt($ch, CURLOPT_BINARYTRANSFER, true); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); - curl_setopt($fp, CURLOPT_HTTPAUTH, CURLAUTH_ANY); + curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_ANY); if ($login && $pass) curl_setopt($ch, CURLOPT_USERPWD, "$login:$pass");