From b97099e815bb5f769379f716f0d475c9a2c14116 Mon Sep 17 00:00:00 2001 From: Armin Novak Date: Thu, 7 Aug 2014 22:20:13 +0200 Subject: [PATCH] Replaced fprintf(stderr with DEBUG_WARN --- channels/audin/client/pulse/audin_pulse.c | 2 +- channels/audin/server/audin.c | 2 +- channels/cliprdr/client/cliprdr_main.c | 12 ++++++------ 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/channels/audin/client/pulse/audin_pulse.c b/channels/audin/client/pulse/audin_pulse.c index b731c2246..5dab7badb 100644 --- a/channels/audin/client/pulse/audin_pulse.c +++ b/channels/audin/client/pulse/audin_pulse.c @@ -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; } diff --git a/channels/audin/server/audin.c b/channels/audin/server/audin.c index 31b3943f0..a7d50c73a 100644 --- a/channels/audin/server/audin.c +++ b/channels/audin/server/audin.c @@ -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; } } diff --git a/channels/cliprdr/client/cliprdr_main.c b/channels/cliprdr/client/cliprdr_main.c index 7eeaad6a9..4526526c0 100644 --- a/channels/cliprdr/client/cliprdr_main.c +++ b/channels/cliprdr/client/cliprdr_main.c @@ -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)