Merge remote-tracking branch 'upstream/develop' into 1511-new-ostatus-delivery

This commit is contained in:
Michael Vogel 2015-11-27 07:30:03 +01:00
commit b45ca80656

View File

@ -17,10 +17,12 @@ function scrape_dfrn($url, $dont_probe = false) {
if(! $s)
return $ret;
$probe = probe_url($url);
if (!$dont_probe) {
$probe = probe_url($url);
if (isset($probe["addr"]))
$ret["addr"] = $probe["addr"];
if (isset($probe["addr"]))
$ret["addr"] = $probe["addr"];
}
$headers = $a->get_curl_headers();
logger('scrape_dfrn: headers=' . $headers, LOGGER_DEBUG);