1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2026-02-05 03:03:34 +00:00

Updated, so KVMSlave logging works on Windows

This commit is contained in:
Bryan Roe
2019-12-23 17:10:12 -08:00
parent 235ef4ab21
commit c758c3ded9

View File

@@ -1018,6 +1018,7 @@ DWORD WINAPI kvm_server_mainloop(LPVOID parm)
str[strLen - 4] = 0; // We're going to convert .exe to _kvm.dmp
g_ILibCrashDump_path = ILibMemory_Allocate((strLen * 2) + 10, 0, NULL, NULL); // Add enough space to add '.dmp' to the end of the path
swprintf_s((wchar_t*)g_ILibCrashDump_path, strLen + 5, L"%s_kvm.dmp", str);
ILibCriticalLogFilename = "KVMSlave.log";
}
__try