summaryrefslogtreecommitdiff
path: root/ext/zip/php_zip.c
diff options
context:
space:
mode:
authorRasmus Lerdorf <rasmus@php.net>2010-11-15 09:04:27 +0000
committerRasmus Lerdorf <rasmus@php.net>2010-11-15 09:04:27 +0000
commitd91c4be0d6ac5c52f6a09254103b154d38852ed2 (patch)
treec330c724580d6450ab88fb8d77f91a33023b9852 /ext/zip/php_zip.c
parentf6b3d222181f4cbf4f4dd780626bd2cbf87403ea (diff)
downloadphp-git-d91c4be0d6ac5c52f6a09254103b154d38852ed2.tar.gz
ws fix
Diffstat (limited to 'ext/zip/php_zip.c')
-rw-r--r--ext/zip/php_zip.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/ext/zip/php_zip.c b/ext/zip/php_zip.c
index dc920ef925..e89682546f 100644
--- a/ext/zip/php_zip.c
+++ b/ext/zip/php_zip.c
@@ -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)) {