diff --git a/MQTTSNGateway/src/MQTTSNGateway.cpp b/MQTTSNGateway/src/MQTTSNGateway.cpp index 23f7e78..afd0197 100644 --- a/MQTTSNGateway/src/MQTTSNGateway.cpp +++ b/MQTTSNGateway/src/MQTTSNGateway.cpp @@ -216,7 +216,7 @@ void Gateway::initialize(int argc, char** argv) { if (getParam("PredefinedTopicFile", param) == 0) { - fileName =*getConfigDirName() + string(param); + fileName = string(param); } else {