diff options
-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];
|