]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - server.c
Prefix loglevel macros with "LL_".
[paraslash.git] / server.c
index 2c2f31c1d08b0d84bb8d8bc44649bf827b5cbfd9..c9400e9cdcdde5dfa9ec9cdcf0f0b27bbd09a4f8 100644 (file)
--- 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);