X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=server.c;h=c9400e9cdcdde5dfa9ec9cdcf0f0b27bbd09a4f8;hb=f645b538c8f3dd88ce9a9ad5dbeb6cf341ad74ab;hp=2c2f31c1d08b0d84bb8d8bc44649bf827b5cbfd9;hpb=bb63ffc8afdd7cd5b0a278be9c91f34f55374513;p=paraslash.git diff --git a/server.c b/server.c index 2c2f31c1..c9400e9c 100644 --- a/server.c +++ b/server.c @@ -153,10 +153,10 @@ __printf_2_3 void para_log(int ll, const char* fmt,...) 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);