[wp-cvs] wordpress/wp-includes functions.php,1.197,1.198
Donncha O Caoimh
donncha at users.sourceforge.net
Wed Oct 20 15:07:52 UTC 2004
Update of /cvsroot/cafelog/wordpress/wp-includes
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22693/wp-includes
Modified Files:
functions.php
Log Message:
Make checking enclosure URLs much faster - fclose() after blank line in response.
Index: functions.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-includes/functions.php,v
retrieving revision 1.197
retrieving revision 1.198
diff -C2 -d -r1.197 -r1.198
*** functions.php 19 Oct 2004 03:03:06 -0000 1.197
--- functions.php 20 Oct 2004 15:07:49 -0000 1.198
***************
*** 817,821 ****
fputs($fp, $headers );
$response = '';
! while (!feof($fp))
$response .= fgets($fp, 2048);
fclose( $fp );
--- 817,821 ----
fputs($fp, $headers );
$response = '';
! while ( !feof($fp) && strpos( $response, "\r\n\r\n" ) == false )
$response .= fgets($fp, 2048);
fclose( $fp );
More information about the cvs
mailing list