diff options
author | jsorg71 <jsorg71> | 2009-08-08 01:04:19 +0000 |
---|---|---|
committer | jsorg71 <jsorg71> | 2009-08-08 01:04:19 +0000 |
commit | 15af40ee1285b50b25decd6e72c31a19e75dfcfe (patch) | |
tree | a017c9ef6f635d3b188ded7464bda30a3a5d31cd /xrdp/xrdp_mm.c | |
parent | 9922d2aef644c32b849b317ca4468d7c248ffbef (diff) | |
download | xrdp-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.c | 4 |
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; } |