iliaa Mon Jan 7 15:13:17 2008 UTC
Modified files: (Branch: PHP_5_3)
/php-src/ext/standard http_fopen_wrapper.c
Log:
WS
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/http_fopen_wrapper.c?r1=1.99.2.12.2.9.2.4&r2=1.99.2.12.2.9.2.5&diff_format=u
Index: php-src/ext/standard/http_fopen_wrapper.c
diff -u php-src/ext/standard/http_fopen_wrapper.c:1.99.2.12.2.9.2.4
php-src/ext/standard/http_fopen_wrapper.c:1.99.2.12.2.9.2.5
--- php-src/ext/standard/http_fopen_wrapper.c:1.99.2.12.2.9.2.4 Mon Dec 31
07:17:15 2007
+++ php-src/ext/standard/http_fopen_wrapper.c Mon Jan 7 15:13:17 2008
@@ -19,7 +19,7 @@
| Sara Golemon <[EMAIL PROTECTED]> |
+----------------------------------------------------------------------+
*/
-/* $Id: http_fopen_wrapper.c,v 1.99.2.12.2.9.2.4 2007/12/31 07:17:15 sebastian
Exp $ */
+/* $Id: http_fopen_wrapper.c,v 1.99.2.12.2.9.2.5 2008/01/07 15:13:17 iliaa Exp
$ */
#include "php.h"
#include "php_globals.h"
@@ -226,8 +226,9 @@
}
}
- if (stream == NULL)
+ if (stream == NULL) {
goto out;
+ }
/* avoid buffering issues while reading header */
if (options & STREAM_WILL_CAST)
@@ -312,7 +313,6 @@
strlcat(scratch, " HTTP/1.0\r\n", scratch_len);
}
-
/* send it */
php_stream_write(stream, scratch, strlen(scratch));
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php