mirror of
https://github.com/reactos/reactos.git
synced 2025-05-06 18:31:26 +00:00
[AUDIOSRV] logmsg(): Disable its file part
Mininal workaround for CORE-16814
This commit is contained in:
parent
db2aa4c8ca
commit
353b544047
1 changed files with 5 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue