]> granicus.if.org Git - php/commitdiff
fix ws
authorAntony Dovgal <tony2001@php.net>
Mon, 4 Jun 2007 06:38:08 +0000 (06:38 +0000)
committerAntony Dovgal <tony2001@php.net>
Mon, 4 Jun 2007 06:38:08 +0000 (06:38 +0000)
ext/zip/php_zip.c

index 1f384e2de8c181134243ed0c6f3ca640f07421a9..f9e0105124a70d7f79ce48772bb6af082313ad37 100644 (file)
@@ -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;
        }