tm = localtime(&t1);
strftime(str, MAXLINE, "%b %d %H:%M:%S", tm);
fprintf(outfd, "%s ", str);
- if (conf.loglevel_arg <= INFO)
+ if (conf.loglevel_arg <= LL_INFO)
fprintf(outfd, "%i: ", ll);
mypid = getpid();
- if (conf.loglevel_arg <= INFO)
+ if (conf.loglevel_arg <= LL_INFO)
fprintf(outfd, "(%d) ", (int)mypid);
va_start(argp, fmt);
vfprintf(outfd, fmt, argp);
exit(EXIT_FAILURE);
}
+/**
+ * (Re-)read the server configuration files.
+ *
+ * \param override Passed to gengetopt to activate the override feature.
+ *
+ * This function also re-opens the logfile and sets the global \a
+ * user_list_file variable.
+ */
void parse_config_or_die(int override)
{
char *home = para_homedir();