static char hosterrorstring2[MAX_INPUTLINE]; // THREAD UNSAFE
static qbool hosterror = false;
va_list argptr;
+ int outfd = sys.outfd;
+
+ // set output to stderr
+ sys.outfd = fileno(stderr);
// turn off rcon redirect if it was active when the crash occurred
// to prevent loops when it is a networking problem
hosterror = false;
+ // restore configured outfd
+ sys.outfd = outfd;
+
Host_AbortCurrentFrame();
}