diff options
author | George Hazan <george.hazan@gmail.com> | 2014-03-11 07:11:03 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-03-11 07:11:03 +0000 |
commit | 2ff7421c993ca4c68089e50865899cb8e50ad167 (patch) | |
tree | 922d744c9be99ae6fde7455680d842d484ddc463 | |
parent | 4cedd4bd78aa30fcffab833006bc1b6e6763e432 (diff) |
also reset netlib log settings when a file name is present, but empty
git-svn-id: http://svn.miranda-ng.org/main/trunk@8553 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r-- | src/modules/netlib/netliblog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/netlib/netliblog.cpp b/src/modules/netlib/netliblog.cpp index d18d544878..92409ddeb6 100644 --- a/src/modules/netlib/netliblog.cpp +++ b/src/modules/netlib/netliblog.cpp @@ -68,7 +68,7 @@ static void InitLog() return;
ptrT szBuf(db_get_tsa(NULL, "Netlib", "File"));
- if (szBuf) {
+ if (lstrlen(szBuf)) {
logOptions.tszUserFile = szBuf;
TCHAR path[MAX_PATH];
|