Remove call by reference.
git-svn-id: https://develop.svn.wordpress.org/trunk@411 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
5f7611dcbe
commit
c44ea6c9a8
|
@ -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)) {
|
||||
|
|
Loading…
Reference in New Issue