From 016ee0bf39b4ca9b55dcdddec7d6948a49f47728 Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Mon, 7 Jan 2008 15:13:17 +0000 Subject: [PATCH] WS --- ext/standard/http_fopen_wrapper.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/standard/http_fopen_wrapper.c b/ext/standard/http_fopen_wrapper.c index c01ac78d5b..f96be7c221 100644 --- a/ext/standard/http_fopen_wrapper.c +++ b/ext/standard/http_fopen_wrapper.c @@ -226,8 +226,9 @@ php_stream *php_stream_url_wrap_http_ex(php_stream_wrapper *wrapper, char *path, } } - if (stream == NULL) + if (stream == NULL) { goto out; + } /* avoid buffering issues while reading header */ if (options & STREAM_WILL_CAST) @@ -312,7 +313,6 @@ php_stream *php_stream_url_wrap_http_ex(php_stream_wrapper *wrapper, char *path, strlcat(scratch, " HTTP/1.0\r\n", scratch_len); } - /* send it */ php_stream_write(stream, scratch, strlen(scratch)); -- 2.50.1