summaryrefslogtreecommitdiffstats
path: root/xrdp/xrdp_mm.c
diff options
context:
space:
mode:
authorjsorg71 <jsorg71>2009-08-08 01:04:19 +0000
committerjsorg71 <jsorg71>2009-08-08 01:04:19 +0000
commit15af40ee1285b50b25decd6e72c31a19e75dfcfe (patch)
treea017c9ef6f635d3b188ded7464bda30a3a5d31cd /xrdp/xrdp_mm.c
parent9922d2aef644c32b849b317ca4468d7c248ffbef (diff)
downloadxrdp-proprietary-15af40ee1285b50b25decd6e72c31a19e75dfcfe.tar.gz
xrdp-proprietary-15af40ee1285b50b25decd6e72c31a19e75dfcfe.zip
log an error if send fails
Diffstat (limited to 'xrdp/xrdp_mm.c')
-rw-r--r--xrdp/xrdp_mm.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/xrdp/xrdp_mm.c b/xrdp/xrdp_mm.c
index 901b49af..56b868a8 100644
--- a/xrdp/xrdp_mm.c
+++ b/xrdp/xrdp_mm.c
@@ -255,6 +255,10 @@ xrdp_mm_send_login(struct xrdp_mm* self)
index = s->end - s->data;
out_uint32_be(s, index); /* size */
rv = xrdp_mm_send(self, s->data, index);
+ if (rv != 0)
+ {
+ xrdp_wm_log_msg(self->wm, "xrdp_mm_send_login: xrdp_mm_send failed");
+ }
free_stream(s);
return rv;
}