diff options
| author | Ilia Alshanetsky <iliaa@php.net> | 2008-01-07 15:13:17 +0000 |
|---|---|---|
| committer | Ilia Alshanetsky <iliaa@php.net> | 2008-01-07 15:13:17 +0000 |
| commit | 016ee0bf39b4ca9b55dcdddec7d6948a49f47728 (patch) | |
| tree | 6314cfb2052894288ebdf561a4040a45c8d6e832 /ext/standard/http_fopen_wrapper.c | |
| parent | e24c17f9b4ac1df3129e281f395b0896e41cf0c2 (diff) | |
| download | php-git-016ee0bf39b4ca9b55dcdddec7d6948a49f47728.tar.gz | |
WS
Diffstat (limited to 'ext/standard/http_fopen_wrapper.c')
| -rw-r--r-- | ext/standard/http_fopen_wrapper.c | 4 |
1 files 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)); |
