derick Mon Jun 6 08:39:57 2005 EDT Modified files: /php-src/ext/standard http_fopen_wrapper.c Log: - Fixed bug #33242 (Mangled error message when stream fails). http://cvs.php.net/diff.php/php-src/ext/standard/http_fopen_wrapper.c?r1=1.96&r2=1.97&ty=u Index: php-src/ext/standard/http_fopen_wrapper.c diff -u php-src/ext/standard/http_fopen_wrapper.c:1.96 php-src/ext/standard/http_fopen_wrapper.c:1.97 --- php-src/ext/standard/http_fopen_wrapper.c:1.96 Thu May 5 22:31:07 2005 +++ php-src/ext/standard/http_fopen_wrapper.c Mon Jun 6 08:39:57 2005 @@ -19,7 +19,7 @@ | Sara Golemon <[EMAIL PROTECTED]> | +----------------------------------------------------------------------+ */ -/* $Id: http_fopen_wrapper.c,v 1.96 2005/05/06 02:31:07 iliaa Exp $ */ +/* $Id: http_fopen_wrapper.c,v 1.97 2005/06/06 12:39:57 derick Exp $ */ #include "php.h" #include "php_globals.h" @@ -103,6 +103,8 @@ char *protocol_version = NULL; int protocol_version_len = 3; /* Default: "1.0" */ + tmp_line[0] = '\0'; + if (redirect_max < 1) { php_error_docref(NULL TSRMLS_CC, E_WARNING, "Redirection limit reached, aborting."); return NULL;
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php