]> granicus.if.org Git - php/commitdiff
ws fix
authorRasmus Lerdorf <rasmus@php.net>
Mon, 15 Nov 2010 09:04:27 +0000 (09:04 +0000)
committerRasmus Lerdorf <rasmus@php.net>
Mon, 15 Nov 2010 09:04:27 +0000 (09:04 +0000)
ext/zip/php_zip.c

index dc920ef925e1a08be492f89decbba0532b1d6897..e89682546f614ffacbe8d6725457f3fcc8017bdf 100644 (file)
@@ -2363,12 +2363,12 @@ static ZIPARCHIVE_METHOD(extractTo)
                RETURN_FALSE;
        }
 
-    if (php_stream_stat_path(pathto, &ssb) < 0) {
-        ret = php_stream_mkdir(pathto, 0777,  PHP_STREAM_MKDIR_RECURSIVE, NULL);
-        if (!ret) {
-            RETURN_FALSE;
-        }
-    }
+       if (php_stream_stat_path(pathto, &ssb) < 0) {
+               ret = php_stream_mkdir(pathto, 0777,  PHP_STREAM_MKDIR_RECURSIVE, NULL);
+               if (!ret) {
+                       RETURN_FALSE;
+               }
+       }
 
        ZIP_FROM_OBJECT(intern, this);
        if (zval_files && (Z_TYPE_P(zval_files) != IS_NULL)) {