summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTim Kientzle <kientzle@FreeBSD.org>2005-01-08 18:28:11 +0000
committerTim Kientzle <kientzle@FreeBSD.org>2005-01-08 18:28:11 +0000
commit49f9f01a7ff1f078ba84a7791f8689cc915183fc (patch)
tree774439b52b2e8f51ee3bf149d514c2ca99f92c03 /lib
parente075f345b6d0cf6259ea684e71d14791be66cd37 (diff)
Notes
Diffstat (limited to 'lib')
-rw-r--r--lib/libarchive/archive_read.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libarchive/archive_read.c b/lib/libarchive/archive_read.c
index 39ff7a8ce128..15fa9f7ac76f 100644
--- a/lib/libarchive/archive_read.c
+++ b/lib/libarchive/archive_read.c
@@ -213,6 +213,7 @@ archive_read_next_header(struct archive *a, struct archive_entry **entryp)
*entryp = NULL;
entry = a->entry;
archive_entry_clear(entry);
+ archive_string_empty(&a->error_string);
/*
* If client didn't consume entire data, skip any remainder