Fix for fsockopen to stop warnings about "Call-time pass-by-reference".

git-svn-id: http://svn.automattic.com/wordpress/trunk@1797 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
donncha 2004-10-14 07:48:15 +00:00
parent 9d7cee76d2
commit c3d0099bfb
1 changed files with 1 additions and 1 deletions

View File

@ -391,7 +391,7 @@ $now_gmt = current_time('mysql', 1);
$port = 80;
$timeout = 3;
// Open a socket connection to the host
$fp = fsockopen($host, $port, &$err_num, &$err_msg, $timeout);
$fp = fsockopen($host, $port, $err_num, $err_msg, $timeout);
if( $fp ) {
// Send request for the page
fputs($fp, $headers );