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:
Lasse Collin 2009-10-17 11:11:58 +03:00
parent 6d118a0b9d
commit f0bf7634b7
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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)