diff options
| author | Rob Mensching <rob@firegiant.com> | 2018-07-23 21:38:04 -0700 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2018-07-23 21:38:04 -0700 |
| commit | 84d8f809e829f0696006f07997b97f3b6030fcc1 (patch) | |
| tree | c22900c7eef37907c242ced3ce889d234137f68c /src | |
| parent | d94c9611f91ac1018f309afea55c90394907690b (diff) | |
| download | wix-84d8f809e829f0696006f07997b97f3b6030fcc1.tar.gz wix-84d8f809e829f0696006f07997b97f3b6030fcc1.tar.bz2 wix-84d8f809e829f0696006f07997b97f3b6030fcc1.zip | |
Ensure log enabled as soon as handle open
Diffstat (limited to 'src')
| -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 | { |
