X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=client.c;h=2123421e71b099bb632b99c563aaafd5b0c70aaf;hp=fdd07b247e617c86d3f38ff059d8bb8672356a9c;hb=74361f472d6d1a75a313cb3a6b4528cfeacfff0a;hpb=3cfb1d880ebf22546486316cb74cce21f007eb07 diff --git a/client.c b/client.c index fdd07b24..2123421e 100644 --- a/client.c +++ b/client.c @@ -80,10 +80,9 @@ int main(int argc, char *argv[]) s.default_timeout.tv_sec = 1; s.default_timeout.tv_usec = 0; - ret = client_open(argc, argv, &ct); + ret = client_open(argc, argv, &ct, &client_loglevel); if (ret < 0) /* can not use PARA_LOG here because ct is NULL */ exit(EXIT_FAILURE); - client_loglevel = get_loglevel_by_name(ct->conf.loglevel_arg); register_task(&svt); ret = schedule(&s); if (ret < 0)