]> granicus.if.org Git - php/commitdiff
Fix comments
authorHannes Magnusson <bjori@php.net>
Fri, 8 May 2009 11:35:12 +0000 (11:35 +0000)
committerHannes Magnusson <bjori@php.net>
Fri, 8 May 2009 11:35:12 +0000 (11:35 +0000)
main/streams/userspace.c

index d22be609a403c25b150380334fb1554b55afd089..f4294ceb5d22ff9aa9836b9c666c258d0610215b 100644 (file)
@@ -1212,7 +1212,7 @@ static int user_wrapper_mkdir(php_stream_wrapper *wrapper, char *url, int mode,
                add_property_null(object, "context");
        }
 
-       /* call the unlink method */
+       /* call the mkdir method */
        MAKE_STD_ZVAL(zfilename);
        ZVAL_STRING(zfilename, url, 1);
        args[0] = &zfilename;
@@ -1277,7 +1277,7 @@ static int user_wrapper_rmdir(php_stream_wrapper *wrapper, char *url, int option
                add_property_null(object, "context");
        }
 
-       /* call the unlink method */
+       /* call the rmdir method */
        MAKE_STD_ZVAL(zfilename);
        ZVAL_STRING(zfilename, url, 1);
        args[0] = &zfilename;
@@ -1337,9 +1337,7 @@ static int user_wrapper_stat_url(php_stream_wrapper *wrapper, char *url, int fla
                add_property_null(object, "context");
        }
 
-       /* call the stat_url method */
-       
-       /* call it's stream_open method - set up params first */
+       /* call it's stat_url method - set up params first */
        MAKE_STD_ZVAL(zfilename);
        ZVAL_STRING(zfilename, url, 1);
        args[0] = &zfilename;