make capath+cafile static as they are

This commit is contained in:
John
2023-05-31 18:50:04 +02:00
parent 17d92bca76
commit 5825975d48
4 changed files with 18 additions and 19 deletions
+1 -1
View File
@@ -109,7 +109,7 @@ MainLoop::MainLoop(const struct options& opt, Device *device, MessageMap* messag
: Thread(), m_device(device), m_reconnectCount(0), m_userList(opt.accessLevel), m_messages(messages),
m_scanHelper(scanHelper), m_address(opt.address), m_scanConfig(opt.scanConfig),
m_initialScan(opt.readOnly ? ESC : opt.initialScan), m_polling(opt.pollInterval > 0), m_enableHex(opt.enableHex),
m_shutdown(false), m_runUpdateCheck(opt.updateCheck), m_httpClient(opt.caFile, opt.caPath) {
m_shutdown(false), m_runUpdateCheck(opt.updateCheck), m_httpClient() {
m_device->setListener(this);
// open Device
result_t result = m_device->open();