Fix Linux

This commit is contained in:
Kilian committed 2022-09-11 21:45:09 +02:00
1 parent de8b282ab1
commit 46a0607b55
5 files changed
+30 -35

No files matched your search

+5 -10
View File
@@ -114,17 +114,12 @@ PLUGIN_API int XPluginStart(char *outName, char *outSig, char *outDesc)
configuration = std::make_unique<germanairlinesva::file::config::Config>();
toLog("Config loaded");
try {
connector = std::make_unique<germanairlinesva_websocket::Websocket>(
"ss://ws.hofmannnet.myhome-server.de:8000",
configuration->getUser(),
toLog);
} catch (const std::invalid_argument &e) {
toLog("SOCK");
toLog(e.what());
return 0;
}
connector = std::make_unique<germanairlinesva_websocket::Websocket>(
"wss://ws.hofmannnet.myhome-server.de:8000",
configuration->getUser(),
toLog);
toLog("WebSocket started");
char hash[2 * MD5LEN + 1] = "";
if (germanairlinesva::util::generateMD5(XPLANE_CUSTOM_SCENERY, hash, toLog) ==
0) {