]> granicus.if.org Git - php/commitdiff
WS
authorIlia Alshanetsky <iliaa@php.net>
Mon, 7 Jan 2008 15:13:17 +0000 (15:13 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Mon, 7 Jan 2008 15:13:17 +0000 (15:13 +0000)
ext/standard/http_fopen_wrapper.c

index c01ac78d5b283211fe3c9929936c3a8ea55fbd0f..f96be7c221644e096e9476de4c416763191ae94f 100644 (file)
@@ -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));