Remove call by reference.
git-svn-id: http://svn.automattic.com/wordpress/trunk@411 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
1a261103b9
commit
7cb21067bb
|
@ -1262,7 +1262,7 @@ function doGeoUrlHeader($posts) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function getRemoteFile($host,$path) {
|
function getRemoteFile($host,$path) {
|
||||||
$fp = fsockopen($host, 80, &$errno, &$errstr);
|
$fp = fsockopen($host, 80, $errno, $errstr);
|
||||||
if ($fp) {
|
if ($fp) {
|
||||||
fputs($fp,"GET $path HTTP/1.0\r\nHost: $host\r\n\r\n");
|
fputs($fp,"GET $path HTTP/1.0\r\nHost: $host\r\n\r\n");
|
||||||
while ($line = fgets($fp, 4096)) {
|
while ($line = fgets($fp, 4096)) {
|
||||||
|
|
Loading…
Reference in New Issue