From 2ff7421c993ca4c68089e50865899cb8e50ad167 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 11 Mar 2014 07:11:03 +0000 Subject: 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 --- src/modules/netlib/netliblog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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]; -- cgit v1.2.3