X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=filter.c;h=722cb16fb35bfaec09bbaca046ebf62931df8036;hb=501b83a39828c9d3db5498c7352a2e5b60175bba;hp=adfa8e10fcc8cd8a5ad744565e497e4d6b1e1190;hpb=27c08870ba172782f6406045007b6ff32a4f7329;p=paraslash.git diff --git a/filter.c b/filter.c index adfa8e10..722cb16f 100644 --- a/filter.c +++ b/filter.c @@ -137,8 +137,8 @@ int main(int argc, char *argv[]) EMBRACE(.name = name, .parent = parent, .handler = f->execute, .context = fn)); ti.name = name; - ti.pre_select = f->pre_select; - ti.post_select = f->post_select; + ti.pre_monitor = f->pre_monitor; + ti.post_monitor = f->post_monitor; ti.context = fn; if (f->open) f->open(fn); @@ -149,8 +149,7 @@ int main(int argc, char *argv[]) EMBRACE(.name = "stdout", .parent = parent)); stdout_task_register(sot, &s); - s.default_timeout.tv_sec = 1; - s.default_timeout.tv_usec = 0; + s.default_timeout = 1000; btr_log_tree(sit->btrn, LL_INFO); ret = schedule(&s); sched_shutdown(&s);