sforkowany z mirror/friendica
Bugfixing CurlResult
rodzic
a066befba5
commit
a95e7f6504
|
@ -1334,10 +1334,10 @@ class Probe
|
||||||
|
|
||||||
// Fetch all additional data from the feed
|
// Fetch all additional data from the feed
|
||||||
$curlResult = Network::curl($data["poll"]);
|
$curlResult = Network::curl($data["poll"]);
|
||||||
if (!empty($curlResult["errno"]) && ($curlResult['errno'] == CURLE_OPERATION_TIMEDOUT)) {
|
if ($curlResult->isTimeout()) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
$feed = $curlResult['body'];
|
$feed = $curlResult->getBody();
|
||||||
$dummy1 = null;
|
$dummy1 = null;
|
||||||
$dummy2 = null;
|
$dummy2 = null;
|
||||||
$dummy2 = null;
|
$dummy2 = null;
|
||||||
|
|
Ładowanie…
Reference in New Issue