[wp-cvs] wordpress/wp-admin post.php,1.97,1.98
Donncha O Caoimh
donncha at users.sourceforge.net
Thu Oct 14 07:48:17 UTC 2004
Update of /cvsroot/cafelog/wordpress/wp-admin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14253
Modified Files:
post.php
Log Message:
Fix for fsockopen to stop warnings about "Call-time pass-by-reference".
Index: post.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-admin/post.php,v
retrieving revision 1.97
retrieving revision 1.98
diff -C2 -d -r1.97 -r1.98
*** post.php 14 Oct 2004 07:34:55 -0000 1.97
--- post.php 14 Oct 2004 07:48:15 -0000 1.98
***************
*** 392,396 ****
$timeout = 3;
// Open a socket connection to the host
! $fp = fsockopen($host, $port, &$err_num, &$err_msg, $timeout);
if( $fp ) {
// Send request for the page
--- 392,396 ----
$timeout = 3;
// Open a socket connection to the host
! $fp = fsockopen($host, $port, $err_num, $err_msg, $timeout);
if( $fp ) {
// Send request for the page
More information about the cvs
mailing list