summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornorrarvid <norrarvid@gmail.com>2012-06-04 14:06:09 +0200
committernorrarvid <norrarvid@gmail.com>2012-06-04 14:06:09 +0200
commit048154ccefa549e94292473b4b7e8ea0a29fcefa (patch)
treea52378aa1cabb9bf9b4f0a9283fe535e6bd3e935
parent02f3fe1e2a2f971246d7775468425636a05e6246 (diff)
downloadxrdp-proprietary-048154ccefa549e94292473b4b7e8ea0a29fcefa.tar.gz
xrdp-proprietary-048154ccefa549e94292473b4b7e8ea0a29fcefa.zip
missing init of variable added
-rw-r--r--xrdp/xrdp_wm.c2
1 files changed, 1 insertions, 1 deletions
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);