]> git.ipfire.org Git - thirdparty/snort3.git/commitdiff
fixed perfmon unit test
authorCarter Waxman <cwaxman@cisco.com>
Wed, 20 Apr 2016 15:55:09 +0000 (11:55 -0400)
committerCarter Waxman <cwaxman@cisco.com>
Wed, 20 Apr 2016 15:55:09 +0000 (11:55 -0400)
src/log/messages.cc

index 5c4ee38edbf66b5d3cb7571ca50dd04e4d3ca542..0e4a9dd9b7350104c70ac4450726b002c2eca1fa 100644 (file)
@@ -210,7 +210,8 @@ void LogMessage(const char* format,...)
 
 void LogMessage(FILE* fh, const char* format,...)
 {
-    if ( snort_conf && !SnortConfig::log_quiet() )
+    if ( snort_conf &&
+        ( !SnortConfig::log_quiet() || fh != stdout ))
     {
         va_list ap;