mirror of https://git.tukaani.org/xz.git
Fix wrong function name in the previous commit.
It was meant to be lzma_filters_copy(), not lzma_filters_dup().
This commit is contained in:
parent
6d118a0b9d
commit
f0bf7634b7
|
@ -121,7 +121,7 @@ extern LZMA_API(lzma_bool) lzma_filter_decoder_is_supported(lzma_vli id)
|
|||
* is not NULL.
|
||||
* - LZMA_PROG_ERROR: src or dest is NULL.
|
||||
*/
|
||||
extern LZMA_API(lzma_ret) lzma_filters_dup(const lzma_filter *src,
|
||||
extern LZMA_API(lzma_ret) lzma_filters_copy(const lzma_filter *src,
|
||||
lzma_filter *dest, lzma_allocator *allocator);
|
||||
|
||||
|
||||
|
|
|
@ -131,7 +131,7 @@ static const struct {
|
|||
|
||||
|
||||
extern LZMA_API(lzma_ret)
|
||||
lzma_filters_dup(const lzma_filter *src, lzma_filter *dest,
|
||||
lzma_filters_copy(const lzma_filter *src, lzma_filter *dest,
|
||||
lzma_allocator *allocator)
|
||||
{
|
||||
if (src == NULL || dest == NULL)
|
||||
|
|
Loading…
Reference in New Issue