[AUDIOSRV] logmsg(): Disable its file part

Mininal workaround for
CORE-16814
This commit is contained in:
Serge Gautherie 2020-04-18 16:40:42 +02:00 committed by Mark Jansen
parent db2aa4c8ca
commit 353b544047

View file

@ -4,10 +4,14 @@
#include <stdio.h>
// FIXME: Disabled to work around CORE-16814 (and CORE-16912).
// #define ENABLE_LOGMSG_FILE
void logmsg(char* string, ...)
{
va_list args;
#ifdef ENABLE_LOGMSG_FILE
FILE* debug_file = fopen("c:\\audiosrv-debug.txt", "a");
if (debug_file)
@ -18,6 +22,7 @@ void logmsg(char* string, ...)
fclose(debug_file);
}
else
#endif
{
char buf[256];
va_start(args, string);