]> ruderich.org/simon Gitweb - tlsproxy/tlsproxy.git/commitdiff
src/log.c: Fix build without DEBUG.
authorSimon Ruderich <simon@ruderich.org>
Tue, 6 Sep 2011 14:20:09 +0000 (16:20 +0200)
committerSimon Ruderich <simon@ruderich.org>
Tue, 6 Sep 2011 14:20:09 +0000 (16:20 +0200)
Broken in 64bfebde76d568808b6fa8a8d09b4b5afe13dc15.

src/log.c

index a703c1cc536b283d143227adb2bdae071374ded7..9cd3da49874ca28be965df0ebec9c5cd6a790027 100644 (file)
--- a/src/log.c
+++ b/src/log.c
@@ -42,7 +42,7 @@ void log_message(int level, const char *file, int line, const char *format, ...)
     }
 
     va_start(ap, format);
-#if DEBUG
+#ifdef DEBUG
     fprintf(stdout, "%-12s:%-3d ", file, line);
 #else
     (void)file;