summaryrefslogtreecommitdiff
path: root/libarchive/archive_read_support_format_raw.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_raw.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_raw.c')
-rw-r--r--libarchive/archive_read_support_format_raw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libarchive/archive_read_support_format_raw.c b/libarchive/archive_read_support_format_raw.c
index fafb5bfe..bf4c0055 100644
--- a/libarchive/archive_read_support_format_raw.c
+++ b/libarchive/archive_read_support_format_raw.c
@@ -175,7 +175,7 @@ archive_read_format_raw_read_data_skip(struct archive_read *a)
if (info->end_of_file)
return (ARCHIVE_EOF);
info->end_of_file = 1;
- skipped = __archive_read_skip_all(a);
+ skipped = __archive_read_consume_all(a);
if (skipped < 0)
return ((int)skipped);
return (ARCHIVE_OK);