From 048154ccefa549e94292473b4b7e8ea0a29fcefa Mon Sep 17 00:00:00 2001 From: norrarvid Date: Mon, 4 Jun 2012 14:06:09 +0200 Subject: [PATCH] missing init of variable added --- xrdp/xrdp_wm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xrdp/xrdp_wm.c b/xrdp/xrdp_wm.c index 14af31ed..c486f67b 100644 --- a/xrdp/xrdp_wm.c +++ b/xrdp/xrdp_wm.c @@ -1561,7 +1561,7 @@ xrdp_wm_log_wnd_notify(struct xrdp_bitmap* wnd, char *new_part_message; char *current_pointer = msg ; - int processedlen ; + int processedlen = 0; do{ new_part_message = g_strndup(current_pointer,LOG_WINDOW_CHAR_PER_LINE) ; g_writeln(new_part_message);