Skip to content

Commit 353b544

Browse files
SergeGautherielearn-more
authored andcommitted
[AUDIOSRV] logmsg(): Disable its file part
Mininal workaround for CORE-16814
1 parent db2aa4c commit 353b544

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

base/services/audiosrv/debug.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,14 @@
44

55
#include <stdio.h>
66

7+
// FIXME: Disabled to work around CORE-16814 (and CORE-16912).
8+
// #define ENABLE_LOGMSG_FILE
9+
710
void logmsg(char* string, ...)
811
{
912
va_list args;
1013

14+
#ifdef ENABLE_LOGMSG_FILE
1115
FILE* debug_file = fopen("c:\\audiosrv-debug.txt", "a");
1216

1317
if (debug_file)
@@ -18,6 +22,7 @@ void logmsg(char* string, ...)
1822
fclose(debug_file);
1923
}
2024
else
25+
#endif
2126
{
2227
char buf[256];
2328
va_start(args, string);

0 commit comments

Comments
 (0)