From 030acb3d5796fd9025e388cdd0b6372db2a74101 Mon Sep 17 00:00:00 2001 From: norrarvid Date: Wed, 16 May 2012 21:19:09 +0200 Subject: [PATCH] freeRDP debug improvements --- freerdp1/xrdp-freerdp.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/freerdp1/xrdp-freerdp.c b/freerdp1/xrdp-freerdp.c index 8e7aa3db..352c53d0 100644 --- a/freerdp1/xrdp-freerdp.c +++ b/freerdp1/xrdp-freerdp.c @@ -213,6 +213,10 @@ lxrdp_event(struct mod* mod, int msg, long param1, long param2, mod->inst->input->MouseEvent(mod->inst->input, flags, 0, 0); case 110: break; + case 200: + /* Currently there are no (?) invalidate API in freeRDP that can receive this request*/ + LLOGLN(0, ("Invalidate request sent from client - Ignored")); + break ; case 0x5555: chanid = LOWORD(param1); flags = HIWORD(param1); @@ -339,6 +343,11 @@ lxrdp_set_param(struct mod* mod, char* name, char* value) { g_strncpy(mod->password, value, 255); } + else if (g_strcmp(name, "client_info") == 0) + { + /* This is a Struct and cannot be printed in next else*/ + LLOGLN(10, ("Client_info struct ignored")); + } else { LLOGLN(0, ("lxrdp_set_param: unknown name [%s] value [%s]", name, value)); @@ -1048,7 +1057,7 @@ lfreerdp_pointer_cached(rdpContext* context, struct mod* mod; int index; - LLOGLN(0, ("lfreerdp_pointer_cached:")); + LLOGLN(10, ("lfreerdp_pointer_cached:")); mod = ((struct mod_context*)context)->modi; index = pointer_cached->cacheIndex; mod->server_set_cursor(mod, mod->pointer_cache[index].hotx,