X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=filter.c;h=f49042f8c7ecfe901bcb01b5ef889d12e93b71b5;hp=ee7e6dbcd1270a89939d8c30ca46db08acb97c3c;hb=5448648480d30077eee8d751c5256c89fe351a9c;hpb=899a19c03fc05f6fd98687e3eaa86841a4633a10 diff --git a/filter.c b/filter.c index ee7e6dbc..f49042f8 100644 --- a/filter.c +++ b/filter.c @@ -30,8 +30,6 @@ INIT_FILTER_ERRLISTS; -#define INBUF_SIZE 32 * 1024 - static struct stdin_task stdin_task_struct; static struct stdin_task *sit = &stdin_task_struct; static struct filter_chain filter_chain_struct; @@ -142,7 +140,6 @@ int main(int argc, char *argv[]) int ret; struct sched s; - init_sched(); stdin_set_defaults(sit); sit->buf = para_malloc(sit->bufsize), @@ -155,7 +152,6 @@ int main(int argc, char *argv[]) goto out; stdout_set_defaults(sot); - PARA_EMERG_LOG("fc->output_eof: %d\n", *fc->output_eof); sot->buf = fc->outbuf; sot->loaded = fc->out_loaded; sot->input_eof = &fc->eof; @@ -165,7 +161,6 @@ int main(int argc, char *argv[]) register_task(&sit->task); s.default_timeout.tv_sec = 1; s.default_timeout.tv_usec = 0; - PARA_EMERG_LOG("fc->output_eof: %d\n", *fc->output_eof); ret = sched(&s); out: free(sit->buf);