aboutsummaryrefslogtreecommitdiff
path: root/src/stub/stub.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/stub/stub.cpp14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/stub/stub.cpp b/src/stub/stub.cpp
index d3ace1f3..0cb202e0 100644
--- a/src/stub/stub.cpp
+++ b/src/stub/stub.cpp
@@ -87,7 +87,19 @@ static void CALLBACK BurnTraceError(
87 __in va_list args 87 __in va_list args
88 ) 88 )
89{ 89{
90 if (DUTIL_SOURCE_DEFAULT == source) 90 BOOL fLog = FALSE;
91
92 switch (source)
93 {
94 case DUTIL_SOURCE_DEFAULT:
95 fLog = TRUE;
96 break;
97 default:
98 fLog = REPORT_VERBOSE < LogGetLevel();
99 break;
100 }
101
102 if (fLog)
91 { 103 {
92 LogErrorStringArgs(hrError, szFormat, args); 104 LogErrorStringArgs(hrError, szFormat, args);
93 } 105 }