]> git.ipfire.org Git - thirdparty/libarchive.git/commit
Set an error message for setting invalid format by code on readers 1404/head
authorYichao Yu <yyc1992@gmail.com>
Sun, 28 Jun 2020 15:29:45 +0000 (11:29 -0400)
committerYichao Yu <yyc1992@gmail.com>
Sun, 28 Jun 2020 15:32:31 +0000 (11:32 -0400)
commit2778b7e7026038313c55935808a0d5a68db1f72a
treef45134f7e2ef70e6b8d0b30b93629427e6626788
parentf3b1f9f239c580b38f4d1197a40c6dde9753672e
Set an error message for setting invalid format by code on readers

The error message is consistent with `archive_read_set_format`.
The absense of an error message here also means that the error message
in `archive_read_set_format` is actually never used.

Writer functions does not seem to have the same issue.
libarchive/archive_read_support_format_by_code.c