diff --git a/b2-include/b2functions.php b/b2-include/b2functions.php index 2e73bb087..af1ad7a58 100644 --- a/b2-include/b2functions.php +++ b/b2-include/b2functions.php @@ -1262,7 +1262,7 @@ function doGeoUrlHeader($posts) { } function getRemoteFile($host,$path) { - $fp = fsockopen($host, 80, &$errno, &$errstr); + $fp = fsockopen($host, 80, $errno, $errstr); if ($fp) { fputs($fp,"GET $path HTTP/1.0\r\nHost: $host\r\n\r\n"); while ($line = fgets($fp, 4096)) {