X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=filter.c;h=85d3da7e57270e21ec6897c3086c93397f9b5e31;hb=e3a7e12639c34fd86d48a072beb48add8c498d09;hp=d4a2423904ca96f87f1ec11600f1c67e2b101ae1;hpb=f787a626b8885247948e3c47ae886b1e3a7c2a3a;p=paraslash.git diff --git a/filter.c b/filter.c index d4a24239..85d3da7e 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);