diff options
-rw-r--r-- | src/dutil/logutil.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dutil/logutil.cpp b/src/dutil/logutil.cpp index c471e002..438cdbb8 100644 --- a/src/dutil/logutil.cpp +++ b/src/dutil/logutil.cpp | |||
@@ -135,6 +135,8 @@ extern "C" HRESULT DAPI LogOpen( | |||
135 | } | 135 | } |
136 | } | 136 | } |
137 | 137 | ||
138 | LogUtil_fDisabled = FALSE; | ||
139 | |||
138 | if (fHeader) | 140 | if (fHeader) |
139 | { | 141 | { |
140 | LogHeader(); | 142 | LogHeader(); |
@@ -153,8 +155,6 @@ extern "C" HRESULT DAPI LogOpen( | |||
153 | ExitOnFailure(hr, "Failed to copy log path."); | 155 | ExitOnFailure(hr, "Failed to copy log path."); |
154 | } | 156 | } |
155 | 157 | ||
156 | LogUtil_fDisabled = FALSE; | ||
157 | |||
158 | LExit: | 158 | LExit: |
159 | if (fEnteredCriticalSection) | 159 | if (fEnteredCriticalSection) |
160 | { | 160 | { |