diff options
author | Gluzskiy Alexandr <sss123next@list.ru> | 2010-09-16 09:25:18 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss123next@list.ru> | 2010-09-16 09:25:18 +0300 |
commit | f8e420612fcc94a7a3f2455f357d7d57ff31c62d (patch) | |
tree | 336a04f0a95cd6b9da2c98a4c64d32d232c1f4c0 /log.cpp | |
parent | fdfc7bdd1090a495dce55f651f159592ce77bdb1 (diff) |
modified: gpg_wrapper.cpp
modified: log.cpp
modified: log.h
modified: main.cpp
modified: new_gpg.rc
modified: options.cpp
modified: resource.h
Diffstat (limited to 'log.cpp')
-rw-r--r-- | log.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -72,7 +72,15 @@ void logtofile::init() { extern bool bDebugLog; if(bDebugLog) + { + if(path) + mir_free(path); path = UniGetContactSettingUtf(NULL, szGPGModuleName, "szLogFilePath", _T("C:\\GPGdebug.log")); + } +} +logtofile::logtofile() +{ + path = NULL; } logtofile::~logtofile() { |