diff options
author | George Hazan <ghazan@miranda.im> | 2022-10-07 11:45:23 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2022-10-07 11:45:23 +0300 |
commit | 57d3323eb772ac02941e21048c7461bee2c4b9cb (patch) | |
tree | 80e966b324db045d39550ad9180cedf128c137db /src | |
parent | 389b18567c5aeac6f210e0ec85bf8d9c5f3140d1 (diff) |
suddenly: network logs are not erased in the beginning, as it should be
Diffstat (limited to 'src')
-rw-r--r-- | src/mir_core/src/logger.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mir_core/src/logger.cpp b/src/mir_core/src/logger.cpp index 0dccb53f9f..24240d691d 100644 --- a/src/mir_core/src/logger.cpp +++ b/src/mir_core/src/logger.cpp @@ -101,6 +101,7 @@ MIR_CORE_DLL(HANDLE) mir_createLog(const char* pszName, const wchar_t *ptszDescr } CreatePathToFileW(ptszFile); + _wremove(ptszFile); arLoggers.insert(result); return result; } |