]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Fix indentation
authorTim Kientzle <kientzle@gmail.com>
Tue, 23 Jun 2015 15:29:06 +0000 (08:29 -0700)
committerTim Kientzle <kientzle@gmail.com>
Tue, 23 Jun 2015 15:29:06 +0000 (08:29 -0700)
libarchive/test/test_read_format_zip_utf8_paths.c

index 86d587c965c0b1b50e7be37ce97c8d7106a3be3b..a703416279d398e38e2b96d7e60f87d8b60d608e 100644 (file)
@@ -45,20 +45,20 @@ verify(struct archive *a) {
        for (file = 0; file < 20; ++file) {
                assertEqualIntA(a, ARCHIVE_OK, archive_read_next_header(a, &ae));
                assert((wp = archive_entry_pathname_w(ae)) != NULL);
-      if (wp) {
-         for (i = 0; wp[i] != 0; ++i) {
-            if (wp[i] == '2') {
-               failure("Unicode 'o with umlaut' expected");
-               assertEqualInt(wp[i + 4], 0xF6);
-            } else if (wp[i] == '3') {
-               failure("Unicode 'a with umlaut' expected");
-               assertEqualInt(wp[i + 4], 0xE4);
-            } else if (wp[i] == '4') {
-               failure("Unicode 'a with ring' expected");
-               assertEqualInt(wp[i + 4], 0xE5);
-            }
-         }
-      }
+               if (wp) {
+                       for (i = 0; wp[i] != 0; ++i) {
+                               if (wp[i] == '2') {
+                                       failure("Unicode 'o with umlaut' expected");
+                                       assertEqualInt(wp[i + 4], 0xF6);
+                               } else if (wp[i] == '3') {
+                                       failure("Unicode 'a with umlaut' expected");
+                                       assertEqualInt(wp[i + 4], 0xE4);
+                               } else if (wp[i] == '4') {
+                                       failure("Unicode 'a with ring' expected");
+                                       assertEqualInt(wp[i + 4], 0xE5);
+                               }
+                       }
+               }
        }
        assertEqualIntA(a, ARCHIVE_EOF, archive_read_next_header(a, &ae));
 }