From 25a8b6f0e2f1fd103d25404feeb593fdace4843a Mon Sep 17 00:00:00 2001 From: Vic Lee Date: Wed, 13 Jul 2011 14:04:42 +0800 Subject: [PATCH] rdpdbg: change to use new DEBUG_WARN macro so that message will always printed --- channels/rdpdbg/rdpdbg_main.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/channels/rdpdbg/rdpdbg_main.c b/channels/rdpdbg/rdpdbg_main.c index 36f2722ea..e1067417b 100644 --- a/channels/rdpdbg/rdpdbg_main.c +++ b/channels/rdpdbg/rdpdbg_main.c @@ -34,14 +34,14 @@ struct rdpdbg_plugin static void rdpdbg_process_connect(rdpSvcPlugin* plugin) { - DEBUG_SVC("connecting"); + DEBUG_WARN("connecting"); } static void rdpdbg_process_receive(rdpSvcPlugin* plugin, STREAM* data_in) { STREAM* data_out; - DEBUG_SVC("size %d", stream_get_size(data_in)); + DEBUG_WARN("size %d", stream_get_size(data_in)); stream_free(data_in); data_out = stream_new(8); @@ -51,7 +51,7 @@ static void rdpdbg_process_receive(rdpSvcPlugin* plugin, STREAM* data_in) static void rdpdbg_process_event(rdpSvcPlugin* plugin, FRDP_EVENT* event) { - DEBUG_SVC("event_type %d", event->event_type); + DEBUG_WARN("event_type %d", event->event_type); freerdp_event_free(event); event = freerdp_event_new(FRDP_EVENT_TYPE_DEBUG, NULL, NULL); @@ -60,7 +60,7 @@ static void rdpdbg_process_event(rdpSvcPlugin* plugin, FRDP_EVENT* event) static void rdpdbg_process_terminate(rdpSvcPlugin* plugin) { - DEBUG_SVC("terminating"); + DEBUG_WARN("terminating"); xfree(plugin); }