X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=write.c;h=238f2ab9d4d1c39f4b4b0e0bca46632c6c44762c;hp=e28e1c01e3f58a56fa8a745c5540ff319bf680be;hb=002731cd3938f3be6b71651e56c062af1adcdec0;hpb=6bdac07456cb5872f824028912d1049883a9c21f diff --git a/write.c b/write.c index e28e1c01..238f2ab9 100644 --- a/write.c +++ b/write.c @@ -122,7 +122,8 @@ register_check_wav: s->timeout.tv_usec = 1; } -INIT_STDERR_LOGGING(conf.loglevel_arg) +static int loglevel; +INIT_STDERR_LOGGING(loglevel) static struct writer_node_group *check_args(void) { @@ -130,6 +131,7 @@ static struct writer_node_group *check_args(void) struct writer_node_group *g = NULL; struct initial_delay_task *idt = &the_initial_delay_task; + loglevel = get_loglevel_by_name(conf.loglevel_arg); if (conf.start_time_given) { long unsigned sec, usec; if (sscanf(conf.start_time_arg, "%lu:%lu",