diff options
author | George Hazan <george.hazan@gmail.com> | 2014-03-10 19:27:58 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-03-10 19:27:58 +0000 |
commit | 7628e73e8358fe7d1faa48dff54817a34e0bc7a9 (patch) | |
tree | 187fd79dfd3afcd5d8c31f01566ba7dce66cdd16 /src | |
parent | 50741b705960dbf152c145b91d0d130e1b4cd7bd (diff) |
set default network log path if it's empty
git-svn-id: http://svn.miranda-ng.org/main/trunk@8549 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src')
-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 a1dbd871d9..d18d544878 100644 --- a/src/modules/netlib/netliblog.cpp +++ b/src/modules/netlib/netliblog.cpp @@ -76,7 +76,7 @@ static void InitLog() logOptions.tszFile = path;
}
else {
- logOptions.tszUserFile = _T("%miranda_logpath%\\netlog.txt");
+ db_set_ts(NULL, "Netlib", "File", logOptions.tszUserFile = _T("%miranda_logpath%\\netlog.txt"));
logOptions.tszFile = Utils_ReplaceVarsT(logOptions.tszUserFile);
}
|