]> granicus.if.org Git - php/commitdiff
- WS
authorMarcus Boerger <helly@php.net>
Mon, 1 May 2006 15:59:56 +0000 (15:59 +0000)
committerMarcus Boerger <helly@php.net>
Mon, 1 May 2006 15:59:56 +0000 (15:59 +0000)
ext/standard/php_fopen_wrapper.c

index e2dd40009bdfd3f56a71420d3a77865e6ba102a9..5a39fb7337ff0c0f46f757fed4a688bbc8e0d8b5 100644 (file)
@@ -160,8 +160,9 @@ php_stream * php_stream_url_wrap_php(php_stream_wrapper *wrapper, char *path, ch
        char *p, *token, *pathdup;
        long max_memory;
 
-       if (!strncasecmp(path, "php://", 6))
+       if (!strncasecmp(path, "php://", 6)) {
                path += 6;
+       }
        
        if (!strncasecmp(path, "temp", 4)) {
                path += 4;