From: Tim Kientzle Date: Sat, 13 Sep 2025 20:07:33 +0000 (-0700) Subject: Fix the reference to the archive object X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F2734%2Fhead;p=thirdparty%2Flibarchive.git Fix the reference to the archive object --- diff --git a/libarchive/archive_write_add_filter_gzip.c b/libarchive/archive_write_add_filter_gzip.c index 47081cc30..b09e669b7 100644 --- a/libarchive/archive_write_add_filter_gzip.c +++ b/libarchive/archive_write_add_filter_gzip.c @@ -263,7 +263,7 @@ archive_compressor_gzip_open(struct archive_write_filter *f) data->stream.next_out += ofn_length + 1; data->stream.avail_out -= ofn_length + 1; } else { - archive_set_error(&a->archive, ENOMEM, + archive_set_error(f->archive, ARCHIVE_ERRNO_MISC, "Gzip 'Original Filename' ignored because it is too long"); ret = ARCHIVE_WARN; }