X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=compress_filter.c;h=49d6d66c4f7a6b37d3b5ba4e072f2208f3a90715;hp=f6ab8b12a74a0aeb3311d5fc4f99e0882d36d08d;hb=35e284e06a5c8e20d02b61fdcb4bcc20b237c1e4;hpb=85094cd802bdb606d4e2bf7ed66dec51db2a0953 diff --git a/compress_filter.c b/compress_filter.c index f6ab8b12..49d6d66c 100644 --- a/compress_filter.c +++ b/compress_filter.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2005-2011 Andre Noll + * Copyright (C) 2005-2012 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -109,7 +109,7 @@ next_buffer: err: assert(ret < 0); t->error = ret; - btr_remove_node(btrn); + btr_remove_node(&fn->btrn); } /** TODO: Add sanity checks */ @@ -120,7 +120,7 @@ static int compress_parse_config(int argc, char **argv, void **config) = para_calloc(sizeof(*compress_conf)); ret = -E_COMPRESS_SYNTAX; - if (compress_cmdline_parser(argc, argv, compress_conf)) + if (compress_filter_cmdline_parser(argc, argv, compress_conf)) goto err; *config = compress_conf; return 1; @@ -142,7 +142,7 @@ static void compress_open(struct filter_node *fn) static void compress_free_config(void *conf) { - compress_cmdline_parser_free(conf); + compress_filter_cmdline_parser_free(conf); } /** @@ -154,7 +154,7 @@ void compress_filter_init(struct filter *f) { struct compress_filter_args_info dummy; - compress_cmdline_parser_init(&dummy); + compress_filter_cmdline_parser_init(&dummy); f->open = compress_open; f->close = compress_close; f->pre_select = generic_filter_pre_select;