mirror of
https://github.com/friendica/friendica
synced 2024-11-19 15:03:40 +00:00
Bugfixing CurlResult
This commit is contained in:
parent
a066befba5
commit
a95e7f6504
1 changed files with 2 additions and 2 deletions
|
@ -1334,10 +1334,10 @@ class Probe
|
|||
|
||||
// Fetch all additional data from the feed
|
||||
$curlResult = Network::curl($data["poll"]);
|
||||
if (!empty($curlResult["errno"]) && ($curlResult['errno'] == CURLE_OPERATION_TIMEDOUT)) {
|
||||
if ($curlResult->isTimeout()) {
|
||||
return false;
|
||||
}
|
||||
$feed = $curlResult['body'];
|
||||
$feed = $curlResult->getBody();
|
||||
$dummy1 = null;
|
||||
$dummy2 = null;
|
||||
$dummy2 = null;
|
||||
|
|
Loading…
Reference in a new issue