Replaced fprintf(stderr with DEBUG_WARN

This commit is contained in:
Armin Novak 2014-08-07 22:20:13 +02:00
parent e6ed76977a
commit b97099e815
3 changed files with 8 additions and 8 deletions

View File

@ -297,7 +297,7 @@ static void audin_pulse_stream_request_callback(pa_stream* stream, size_t length
*/
if (pulse->buffer == NULL)
{
/* fprintf(stderr, "%s: ignoring input, pulse buffer not ready.\n", __func__); */
/* DEBUG_WARN( "%s: ignoring input, pulse buffer not ready.\n", __func__); */
return;
}

View File

@ -385,7 +385,7 @@ static void* audin_server_thread_func(void* arg)
break;
default:
fprintf(stderr, "audin_server_thread_func: unknown MessageId %d\n", MessageId);
DEBUG_WARN( "audin_server_thread_func: unknown MessageId %d\n", MessageId);
break;
}
}

View File

@ -101,18 +101,18 @@ static void cliprdr_process_connect(rdpSvcPlugin* plugin)
void cliprdr_print_general_capability_flags(UINT32 flags)
{
fprintf(stderr, "generalFlags (0x%08X) {\n", flags);
DEBUG_WARN( "generalFlags (0x%08X) {\n", flags);
if (flags & CB_USE_LONG_FORMAT_NAMES)
fprintf(stderr, "\tCB_USE_LONG_FORMAT_NAMES\n");
DEBUG_WARN( "\tCB_USE_LONG_FORMAT_NAMES\n");
if (flags & CB_STREAM_FILECLIP_ENABLED)
fprintf(stderr, "\tCB_STREAM_FILECLIP_ENABLED\n");
DEBUG_WARN( "\tCB_STREAM_FILECLIP_ENABLED\n");
if (flags & CB_FILECLIP_NO_FILE_PATHS)
fprintf(stderr, "\tCB_FILECLIP_NO_FILE_PATHS\n");
DEBUG_WARN( "\tCB_FILECLIP_NO_FILE_PATHS\n");
if (flags & CB_CAN_LOCK_CLIPDATA)
fprintf(stderr, "\tCB_CAN_LOCK_CLIPDATA\n");
DEBUG_WARN( "\tCB_CAN_LOCK_CLIPDATA\n");
fprintf(stderr, "}\n");
DEBUG_WARN( "}\n");
}
static void cliprdr_process_general_capability(cliprdrPlugin* cliprdr, wStream* s)