removed call time pass by reference in enclosures support

git-svn-id: http://svn.automattic.com/wordpress/trunk@1806 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
michelvaldrighi 2004-10-16 10:18:36 +00:00
parent a0a2e1f39d
commit 595ac150eb
1 changed files with 1 additions and 1 deletions

View File

@ -384,7 +384,7 @@ $now_gmt = current_time('mysql', 1);
$headers = "HEAD $file HTTP/1.1\r\nHOST: $host\r\n\r\n";
$port = 80;
$timeout = 3;
$fp = fsockopen($host, $port, &$err_num, &$err_msg, $timeout);
$fp = fsockopen($host, $port, $errno, $errstr, $timeout);
if( $fp ) {
fputs($fp, $headers );
$response = '';