summaryrefslogtreecommitdiff
path: root/libarchive/archive_read_support_format_ar.c
diff options
context:
space:
mode:
authorTim Kientzle <kientzle@gmail.com>2010-03-21 12:12:16 -0400
committerTim Kientzle <kientzle@gmail.com>2010-03-21 12:12:16 -0400
commitd28b09eac5c0f2ab24ee213a800f0abc0ff7d322 (patch)
tree736e47302a3fb8f8cbb8635fa48b9711901ab290 /libarchive/archive_read_support_format_ar.c
parent1d1856745d185cf3844429d507088fb2f6d8d245 (diff)
downloadlibarchive-d28b09eac5c0f2ab24ee213a800f0abc0ff7d322.tar.gz
Switch users of archive_read_skip() over to archive_read_consume() now
that they both do the same thing. Remove archive_read_consume(). Rename the core "advance_file_pointer" function to make it a little more clear that it's internal to archive_read.c. Clean up a few comments. SVN-Revision: 2047
Diffstat (limited to 'libarchive/archive_read_support_format_ar.c')
-rw-r--r--libarchive/archive_read_support_format_ar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libarchive/archive_read_support_format_ar.c b/libarchive/archive_read_support_format_ar.c
index 94836706..dcee9ba4 100644
--- a/libarchive/archive_read_support_format_ar.c
+++ b/libarchive/archive_read_support_format_ar.c
@@ -499,7 +499,7 @@ archive_read_format_ar_skip(struct archive_read *a)
ar = (struct ar *)(a->format->data);
- bytes_skipped = __archive_read_skip(a,
+ bytes_skipped = __archive_read_consume(a,
ar->entry_bytes_remaining + ar->entry_padding);
if (bytes_skipped < 0)
return (ARCHIVE_FATAL);