diff options
author | Antony Dovgal <tony2001@php.net> | 2007-06-04 06:38:22 +0000 |
---|---|---|
committer | Antony Dovgal <tony2001@php.net> | 2007-06-04 06:38:22 +0000 |
commit | 61d697d10091ab1eeee317b79470535a59481bdf (patch) | |
tree | b040cb010217d3481ebeb91b8166c522e63d7d3e /ext/zip/php_zip.c | |
parent | 55b5b89ef705b902356049c16560f5855b32dbf5 (diff) | |
download | php-git-61d697d10091ab1eeee317b79470535a59481bdf.tar.gz |
fix ws
Diffstat (limited to 'ext/zip/php_zip.c')
-rw-r--r-- | ext/zip/php_zip.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |