From: Antony Dovgal Date: Mon, 4 Jun 2007 06:38:22 +0000 (+0000) Subject: fix ws X-Git-Tag: php-5.2.4RC1~434 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=61d697d10091ab1eeee317b79470535a59481bdf;p=php fix ws --- diff --git a/ext/zip/php_zip.c b/ext/zip/php_zip.c index a30201b272..ec25cc6efc 100644 --- a/ext/zip/php_zip.c +++ b/ext/zip/php_zip.c @@ -1004,12 +1004,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; }