Fix multiple small issues :)

This commit is contained in:
Lion Kortlepel
2020-11-11 11:24:36 +01:00
parent 8f05cdcc61
commit 308500c01f
6 changed files with 13 additions and 12 deletions

View File

@@ -24,7 +24,7 @@ struct VData{
class Client {
private:
std::set<std::unique_ptr<VData>> VehicleData; //ID and Data;
std::string Name = "Unknown Client";
std::string Name = Sec("Unknown Client");
sockaddr_in UDPADDR;
std::string Role;
std::string DID;

View File

@@ -5,6 +5,7 @@
#include <iostream>
#include <mutex>
#include <string>
#include "Security/Xor.h"
void InitLog();
#define DebugPrintTID() DebugPrintTIDInternal(__func__, false)
void DebugPrintTIDInternal(const std::string& func, bool overwrite = true); // prints the current thread id in debug mode, to make tracing of crashes and asserts easier