log an error if send fails
This commit is contained in:
parent
9922d2aef6
commit
15af40ee12
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user