X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=filter.c;h=99b12217b8cc1e701c428928478a03a00ccd0c74;hp=b8a7c5c19231d415f0e2488a6275f619901e2d65;hb=6f5030f4b257aba7ea4265ef3ae35d96477bbfc3;hpb=318fbe90e08b6d9c5e781d9b517b670c5a1a04d7 diff --git a/filter.c b/filter.c index b8a7c5c1..99b12217 100644 --- a/filter.c +++ b/filter.c @@ -6,8 +6,9 @@ /** \file filter.c The stand-alone filter program. */ -#include "para.h" +#include +#include "para.h" #include "filter.cmdline.h" #include "list.h" #include "sched.h" @@ -121,6 +122,7 @@ static int parse_config(int argc, char *argv[]) HANDLE_VERSION_FLAG("filter", conf); if (conf.help_given || conf.detailed_help_given) print_help_and_die(); + loglevel = get_loglevel_by_name(conf.loglevel_arg); if (!cf) { char *home = para_homedir(); cf = make_message("%s/.paraslash/filter.conf", home); @@ -163,7 +165,6 @@ int main(int argc, char *argv[]) ret = parse_config(argc, argv); if (ret < 0) goto out; - loglevel = get_loglevel_by_name(conf.loglevel_arg); ret = init_filter_chain(); if (ret < 0) goto out;