summaryrefslogtreecommitdiffstats
path: root/rdp/rdp_mcs.c
diff options
context:
space:
mode:
Diffstat (limited to 'rdp/rdp_mcs.c')
-rw-r--r--rdp/rdp_mcs.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/rdp/rdp_mcs.c b/rdp/rdp_mcs.c
index 55067b1f..18c33ac4 100644
--- a/rdp/rdp_mcs.c
+++ b/rdp/rdp_mcs.c
@@ -19,6 +19,7 @@
*/
#include "rdp.h"
+#include "common/log.h"
/*****************************************************************************/
struct rdp_mcs *APP_CC
@@ -598,7 +599,8 @@ failed"));
int APP_CC
rdp_mcs_init(struct rdp_mcs *self, struct stream *s)
{
- rdp_iso_init(self->iso_layer, s);
+ if (rdp_iso_init(self->iso_layer, s))
+ log_message(LOG_LEVEL_ERROR, "rdp_mcs.c: rdp_iso_init() failed");
s_push_layer(s, mcs_hdr, 8);
return 0;
}