From d91c4be0d6ac5c52f6a09254103b154d38852ed2 Mon Sep 17 00:00:00 2001 From: Rasmus Lerdorf Date: Mon, 15 Nov 2010 09:04:27 +0000 Subject: [PATCH] ws fix --- ext/zip/php_zip.c | 12 ++++++------ 1 file 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)) { -- 2.40.0