summaryrefslogtreecommitdiffstats
path: root/sesman/chansrv
diff options
context:
space:
mode:
authorJay Sorg <jay.sorg@gmail.com>2013-05-01 23:41:44 -0700
committerJay Sorg <jay.sorg@gmail.com>2013-05-01 23:41:44 -0700
commit4544554c3be6410d4131ad0f230dbed392c980e4 (patch)
tree3c02e60780dcfa9c796034e584a1770268e989a0 /sesman/chansrv
parent19a9ed47dcd3d0c55114c7b3686709a9a795e5cf (diff)
downloadxrdp-proprietary-4544554c3be6410d4131ad0f230dbed392c980e4.tar.gz
xrdp-proprietary-4544554c3be6410d4131ad0f230dbed392c980e4.zip
chansrv: fix for close message
Diffstat (limited to 'sesman/chansrv')
-rw-r--r--sesman/chansrv/sound.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sesman/chansrv/sound.c b/sesman/chansrv/sound.c
index 9c76242d..5119aac4 100644
--- a/sesman/chansrv/sound.c
+++ b/sesman/chansrv/sound.c
@@ -313,7 +313,7 @@ sound_trans_audio_data_in(struct trans *trans)
in_uint32_le(s, id);
in_uint32_le(s, size);
- if ((id & 3) || (size > 128 * 1024 + 8) || (size < 8))
+ if ((id & ~3) || (size > 128 * 1024 + 8) || (size < 8))
{
LOG(0, ("sound_trans_audio_data_in: bad message id %d size %d", id, size));
return 1;