]> ruderich.org/simon Gitweb - tlsproxy/tlsproxy.git/commitdiff
src/connection.c: Align WARNING (now "WARN ") in log_message().
authorSimon Ruderich <simon@ruderich.org>
Mon, 7 Mar 2011 20:30:09 +0000 (21:30 +0100)
committerSimon Ruderich <simon@ruderich.org>
Mon, 7 Mar 2011 20:30:09 +0000 (21:30 +0100)
src/connection.c

index 9a47ee1829389428c29691dec7c8e4a630f6e2cb..37f255013201a7bcc120da1453d71b6a5e3bb866 100644 (file)
@@ -414,9 +414,9 @@ static void log_message(int level, const char *format, ...) {
     }
 
     switch (level) {
     }
 
     switch (level) {
-        case LOG_ERROR:   level_string = "ERROR";   break;
-        case LOG_WARNING: level_string = "WARNING"; break;
-        case LOG_DEBUG:   level_string = "DEBUG";   break;
+        case LOG_ERROR:   level_string = "ERROR"; break;
+        case LOG_WARNING: level_string = "WARN "; break;
+        case LOG_DEBUG:   level_string = "DEBUG"; break;
         default:          level_string = "UNKNOWN";
     }
 
         default:          level_string = "UNKNOWN";
     }