summaryrefslogtreecommitdiffstats
path: root/rdp/rdp_mcs.c
diff options
context:
space:
mode:
authorLaxmikant Rashinkar <LK.Rashinkar@gmail.com>2014-07-19 13:06:25 -0700
committerLaxmikant Rashinkar <LK.Rashinkar@gmail.com>2014-07-19 13:06:25 -0700
commit73578bc612b63e451a9203f7187f77152d069350 (patch)
tree6259b3b95a833e1ad7de288468b24d50e4fc6807 /rdp/rdp_mcs.c
parent3bb31876e797c7a13b4ffb7d67a5d710cbf4fab3 (diff)
downloadxrdp-proprietary-73578bc612b63e451a9203f7187f77152d069350.tar.gz
xrdp-proprietary-73578bc612b63e451a9203f7187f77152d069350.zip
coverity: fixed unchecked return value
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;
}