diff options
author | jsorg71 <jsorg71> | 2008-12-30 08:58:31 +0000 |
---|---|---|
committer | jsorg71 <jsorg71> | 2008-12-30 08:58:31 +0000 |
commit | 49552f5ebf5cd3e86a02ba1659a3d1972ec66ded (patch) | |
tree | 3db4a1c0fe45b1091b03384f7326ebd0cbc37a8b /xrdp/xrdp_wm.c | |
parent | d241e0242212020568e98ddb20c113025f41dca1 (diff) | |
download | xrdp-proprietary-49552f5ebf5cd3e86a02ba1659a3d1972ec66ded.tar.gz xrdp-proprietary-49552f5ebf5cd3e86a02ba1659a3d1972ec66ded.zip |
add a var if chan_trans connected
Diffstat (limited to 'xrdp/xrdp_wm.c')
-rw-r--r-- | xrdp/xrdp_wm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xrdp/xrdp_wm.c b/xrdp/xrdp_wm.c index cc479cd1..c0e903b6 100644 --- a/xrdp/xrdp_wm.c +++ b/xrdp/xrdp_wm.c @@ -1490,7 +1490,7 @@ xrdp_wm_mod_get_wait_objs(struct xrdp_wm* self, { if (self->mm != 0) { - if (self->mm->chan_trans != 0) + if ((self->mm->chan_trans != 0) && self->mm->chan_trans_up) { trans_get_wait_objs(self->mm->chan_trans, read_objs, rcount, timeout); } @@ -1513,7 +1513,7 @@ xrdp_wm_mod_check_wait_objs(struct xrdp_wm* self) { if (self->mm != 0) { - if (self->mm->chan_trans != 0) + if ((self->mm->chan_trans != 0) && self->mm->chan_trans_up) { trans_check_wait_objs(self->mm->chan_trans); } |