task_register() conversion: stdin task
[paraslash.git] / filter.c
index 69b12d7..7e3575f 100644 (file)
--- a/filter.c
+++ b/filter.c
@@ -112,8 +112,7 @@ int main(int argc, char *argv[])
                goto out;
        sit->btrn = btr_new_node(&(struct btr_node_description)
                EMBRACE(.name = "stdin"));
-       stdin_set_defaults(sit);
-       register_task(&s, &sit->task);
+       stdin_task_register(sit, &s);
 
        fns = para_malloc(conf.filter_given * sizeof(*fns));
        for (i = 0, parent = sit->btrn; i < conf.filter_given; i++) {