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

git-svn-id: https://develop.svn.wordpress.org/trunk@1797 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Donncha O Caoimh 2004-10-14 07:48:15 +00:00
parent 904bb037c5
commit db93072a78
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 );