From 2ac15fe26d15a66b516c78cdf721093f5fe09198 Mon Sep 17 00:00:00 2001 From: Antony Dovgal Date: Mon, 4 Jun 2007 06:38:08 +0000 Subject: [PATCH] fix ws --- ext/zip/php_zip.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/zip/php_zip.c b/ext/zip/php_zip.c index 1f384e2de8..f9e0105124 100644 --- a/ext/zip/php_zip.c +++ b/ext/zip/php_zip.c @@ -1015,12 +1015,12 @@ static ZIPARCHIVE_METHOD(addEmptyDir) RETURN_FALSE; } - if (dirname[dirname_len-1] != '/') { + if (dirname[dirname_len-1] != '/') { s=(char *)emalloc(dirname_len+2); strcpy(s, dirname); s[dirname_len] = '/'; s[dirname_len+1] = '\0'; - } else { + } else { s = dirname; } -- 2.50.1