mirror of
https://github.com/Ylianst/MeshAgent
synced 2025-12-06 00:13:33 +00:00
Added additional logging if XOPEN fails
This commit is contained in:
@@ -574,6 +574,7 @@ int kvm_init(int displayNo)
|
||||
{
|
||||
char tmpBuff[1024];
|
||||
sprintf_s(tmpBuff, sizeof(tmpBuff), "XOpenDisplay(%s) failed, using XAUTHORITY: %s", CURRENT_XDISPLAY, getenv("XAUTHORITY"));
|
||||
if (logFile) { fprintf(logFile, "XOpenDisplay(%s) failed, using XAUTHORITY: %s\n", CURRENT_XDISPLAY, getenv("XAUTHORITY")); fflush(logFile); }
|
||||
kvm_send_error(tmpBuff);
|
||||
return(-1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user