]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
b64encode: Fix typo in error message (#2281)
authorTobias Stoeckmann <stoeckmann@users.noreply.github.com>
Mon, 12 Aug 2024 22:22:12 +0000 (00:22 +0200)
committerGitHub <noreply@github.com>
Mon, 12 Aug 2024 22:22:12 +0000 (15:22 -0700)
If this function fails, log b64encode instead of uu.

libarchive/archive_write_add_filter_b64encode.c

index 16b41afa786811f1df7bd1520aad43ab87bd4373..3aca6d81d22156e2f43ead66eca55e85de7bd86d 100644 (file)
@@ -83,7 +83,7 @@ archive_write_add_filter_b64encode(struct archive *_a)
        struct private_b64encode *state;
 
        archive_check_magic(&a->archive, ARCHIVE_WRITE_MAGIC,
-           ARCHIVE_STATE_NEW, "archive_write_add_filter_uu");
+           ARCHIVE_STATE_NEW, "archive_write_add_filter_b64encode");
 
        state = (struct private_b64encode *)calloc(1, sizeof(*state));
        if (state == NULL) {