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

index a30201b27293c8474ddb0581ebf8191466642a0f..ec25cc6efc9b2cfb1f1615e77d5637e0f16fe657 100644 (file)
@@ -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;
        }