diff options
author | Jay Sorg <jay.sorg@gmail.com> | 2013-11-11 01:52:14 -0800 |
---|---|---|
committer | Jay Sorg <jay.sorg@gmail.com> | 2013-11-11 01:52:14 -0800 |
commit | ad0532b1bf946cc421b5f27bf1b5cecbcf68de59 (patch) | |
tree | dda39b885ce3ec117bf57b31b53d43577326b8ad /sesman/chansrv | |
parent | f5e9bc3308617eefd7a527d91a97aef4b8c2369b (diff) | |
download | xrdp-proprietary-ad0532b1bf946cc421b5f27bf1b5cecbcf68de59.tar.gz xrdp-proprietary-ad0532b1bf946cc421b5f27bf1b5cecbcf68de59.zip |
vrplayer: work on client timing
Diffstat (limited to 'sesman/chansrv')
-rw-r--r-- | sesman/chansrv/chansrv.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sesman/chansrv/chansrv.c b/sesman/chansrv/chansrv.c index aed44535..964c7abc 100644 --- a/sesman/chansrv/chansrv.c +++ b/sesman/chansrv/chansrv.c @@ -647,8 +647,9 @@ process_message_channel_data(struct stream *s) { rv = drdynvc_data_in(s, chan_id, chan_flags, length, total_length); } - else if (chan_id == ((struct xrdp_api_data *) - (g_api_con_trans->callback_data))->chan_id) + else if ((g_api_con_trans != 0) && + (chan_id == ((struct xrdp_api_data *) + (g_api_con_trans->callback_data))->chan_id)) { LOG(10, ("process_message_channel_data length %d total_length %d " "chan_flags 0x%8.8x", length, total_length, chan_flags)); |