rdpdbg: change to use new DEBUG_WARN macro so that message will always printed

This commit is contained in:
Vic Lee 2011-07-13 14:04:42 +08:00
parent e10aba7cae
commit 25a8b6f0e2

View File

@ -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);
}