summaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/fuzzer.cpp3
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);