]> granicus.if.org Git - php/commitdiff
- WS
authorPierre Joye <pajoye@php.net>
Wed, 1 Sep 2010 10:16:48 +0000 (10:16 +0000)
committerPierre Joye <pajoye@php.net>
Wed, 1 Sep 2010 10:16:48 +0000 (10:16 +0000)
main/streams/plain_wrapper.c

index 80099757627eaa4558bf97248f22ba8ef0167567..2fc0e8989aab6ec7d596814dc38408242b9edbcf 100644 (file)
@@ -1117,7 +1117,7 @@ static int php_plain_files_rename(php_stream_wrapper *wrapper, char *url_from, c
 #else
                php_error_docref2(NULL TSRMLS_CC, url_from, url_to, E_WARNING, "%s", strerror(errno));
 #endif
-        return 0;
+               return 0;
        }
 
        /* Clear stat cache (and realpath cache) */
@@ -1199,7 +1199,7 @@ static int php_plain_files_mkdir(php_stream_wrapper *wrapper, char *dir, int mod
                                if (*p == '\0') {
                                        *p = DEFAULT_SLASH;
                                        if ((*(p+1) != '\0') &&
-                                           (ret = VCWD_MKDIR(buf, (mode_t)mode)) < 0) {
+                                               (ret = VCWD_MKDIR(buf, (mode_t)mode)) < 0) {
                                                if (options & REPORT_ERRORS) {
                                                        php_error_docref(NULL TSRMLS_CC, E_WARNING, "%s", strerror(errno));
                                                }