diff options
author | Laxmikant Rashinkar <LK.Rashinkar@gmail.com> | 2014-07-19 13:06:25 -0700 |
---|---|---|
committer | Laxmikant Rashinkar <LK.Rashinkar@gmail.com> | 2014-07-19 13:06:25 -0700 |
commit | 73578bc612b63e451a9203f7187f77152d069350 (patch) | |
tree | 6259b3b95a833e1ad7de288468b24d50e4fc6807 /sesman/chansrv/sound.c | |
parent | 3bb31876e797c7a13b4ffb7d67a5d710cbf4fab3 (diff) | |
download | xrdp-proprietary-73578bc612b63e451a9203f7187f77152d069350.tar.gz xrdp-proprietary-73578bc612b63e451a9203f7187f77152d069350.zip |
coverity: fixed unchecked return value
Diffstat (limited to 'sesman/chansrv/sound.c')
-rw-r--r-- | sesman/chansrv/sound.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sesman/chansrv/sound.c b/sesman/chansrv/sound.c index a90bf905..c699ffde 100644 --- a/sesman/chansrv/sound.c +++ b/sesman/chansrv/sound.c @@ -1132,7 +1132,8 @@ sound_sndsrvr_source_data_in(struct trans *trans) return 1; ts = trans_get_in_s(trans); - trans_force_read(trans, 3); + if (trans_force_read(trans, 3)) + log_message(LOG_LEVEL_ERROR, "sound.c: error reading from transport"); ts->p = ts->data + 8; in_uint8(ts, cmd); |