diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-05-29 12:56:16 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-05-29 12:56:16 +0300 |
commit | 1b500cb24655e2ad3e6c6fd20143ce0d2d070d6f (patch) | |
tree | 3eea380919dae735fdbeacff314edf1ad06d26ab /src/utils | |
parent | 0b7ef18ac3c7fb4e3717f6311d4e21a31ff440d5 (diff) | |
download | plus-1b500cb24655e2ad3e6c6fd20143ce0d2d070d6f.tar.gz plus-1b500cb24655e2ad3e6c6fd20143ce0d2d070d6f.tar.bz2 plus-1b500cb24655e2ad3e6c6fd20143ce0d2d070d6f.tar.xz plus-1b500cb24655e2ad3e6c6fd20143ce0d2d070d6f.zip |
Move many variables from client into settings.
Diffstat (limited to 'src/utils')
-rw-r--r-- | src/utils/fuzzer.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/utils/fuzzer.cpp b/src/utils/fuzzer.cpp index 6d76b1329..2bb292a91 100644 --- a/src/utils/fuzzer.cpp +++ b/src/utils/fuzzer.cpp @@ -24,6 +24,7 @@ #include "client.h" #include "logger.h" +#include "settings.h" #include "utils/stringutils.h" @@ -38,7 +39,7 @@ namespace void Fuzzer::init() { fuzz = new Logger; - fuzz->setLogFile(client->getLocalDataDirectory() + "/fuzzer.log"); + fuzz->setLogFile(settings.localDataDir + "/fuzzer.log"); unsigned int sr = time(nullptr); fuzz->log("Srand: %u", sr); |