diff options
author | George Hazan <ghazan@miranda.im> | 2021-06-12 12:41:03 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2021-06-12 12:41:03 +0300 |
commit | 59b505b37f358efa222abaf8aebe9cde4b81d49e (patch) | |
tree | 41304047bf2c0a7aa9fe9ae43ecd7cfab627c746 /plugins/Clist_modern/src/modern_log.cpp | |
parent | 171e84714b11162f2897d44911f24a8bd3e36fc5 (diff) |
minor code cleaning
Diffstat (limited to 'plugins/Clist_modern/src/modern_log.cpp')
-rw-r--r-- | plugins/Clist_modern/src/modern_log.cpp | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/plugins/Clist_modern/src/modern_log.cpp b/plugins/Clist_modern/src/modern_log.cpp index 10e76ae573..06d9a7dbf9 100644 --- a/plugins/Clist_modern/src/modern_log.cpp +++ b/plugins/Clist_modern/src/modern_log.cpp @@ -32,15 +32,7 @@ void Log(const char *file, int line, const char *fmt, ...) }
}
mir_snprintf(buf, "clist_modern:[%u - %u]: %s \t\t(%s Ln %d)\n", GetCurrentThreadId(), GetTickCount(), str, file_tmp, line);
-#ifdef _FILELOG_
- {
- FILE *fp;
- fp = fopen(_FILELOG_,"at");
- fprintf(fp,buf);
- fclose(fp);
- }
-#else
+ Netlib_Log(nullptr, buf);
OutputDebugStringA(buf);
-#endif
}
|