]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Whitespace cleanup after 41965bf
authorTim Kientzle <kientzle@acm.org>
Sun, 5 Jul 2015 17:05:31 +0000 (10:05 -0700)
committerTim Kientzle <kientzle@acm.org>
Sun, 5 Jul 2015 17:05:31 +0000 (10:05 -0700)
libarchive/archive_read.c
libarchive/archive_read_disk_posix.c
libarchive/archive_read_disk_windows.c

index 56dd8877b057baf14d8dcfa1139c305812ed1562..41842d4e5f1b555553c9d3d857e663f4f87e11bf 100644 (file)
@@ -667,7 +667,7 @@ _archive_read_next_header2(struct archive *_a, struct archive_entry *entry)
                break;
        }
 
-   __archive_reset_read_data(&a->archive);
+       __archive_reset_read_data(&a->archive);
 
        a->data_start_node = a->client.cursor;
        /* EOF always wins; otherwise return the worst error. */
@@ -893,11 +893,9 @@ archive_read_data(struct archive *_a, void *buff, size_t s)
        return (bytes_read);
 }
 
-
-
- /*
-  * Reset the read_data_* variables, used for starting a new entry.
-  */
+/*
+ * Reset the read_data_* variables, used for starting a new entry.
+ */
 void __archive_reset_read_data(struct archive * a)
 {
        a->read_data_output_offset = 0;
@@ -910,9 +908,6 @@ void __archive_reset_read_data(struct archive * a)
    a->read_data_offset = 0;
 }
 
-
-
-
 /*
  * Skip over all remaining data in this entry.
  */
index 0063ddd93e9e6af01cda88eb46b9d999ca98636e..c76b1d6ba687f9762f36687ec6cf13453907320e 100644 (file)
@@ -1152,8 +1152,7 @@ _archive_read_next_header2(struct archive *_a, struct archive_entry *entry)
                break;
        }
 
-   __archive_reset_read_data(&a->archive);
-
+       __archive_reset_read_data(&a->archive);
        return (r);
 }
 
index 3fb6f15b1c34c9998645a6fe9ad4b74cab327c3f..65734535e539d65b78af2db68f5271e07934cc70 100644 (file)
@@ -1000,8 +1000,7 @@ _archive_read_next_header2(struct archive *_a, struct archive_entry *entry)
                break;
        }
 
-   __archive_reset_read_data(&a->archive);
-
+       __archive_reset_read_data(&a->archive);
        return (r);
 }