X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=server.c;h=6aa7c1f4c597fd92d4574aa43f3742604e6c9df9;hp=459f44621bb5c1f8350f2c5192edaa15362b5335;hb=6bab1680d9285d0cfc1a16978a1fcfb21b746bfe;hpb=d9e608504d9d0e71380907559546e211c4f0ce55 diff --git a/server.c b/server.c index 459f4462..6aa7c1f4 100644 --- a/server.c +++ b/server.c @@ -136,7 +136,7 @@ struct server_command_task { * \param ll The log level. * \param fmt The format string describing the log message. */ -void para_log(int ll, const char* fmt,...) +__printf_2_3 void para_log(int ll, const char* fmt,...) { va_list argp; FILE *outfd; @@ -226,7 +226,7 @@ static void parse_config(int override) .initialize = 0, .check_required = 1, .check_ambiguity = 0, - .print_errors = 1 + .print_errors = !conf.daemon_given }; server_cmdline_parser_config_file(cf, &conf, ¶ms); conf.daemon_given = tmp;