From 4544554c3be6410d4131ad0f230dbed392c980e4 Mon Sep 17 00:00:00 2001 From: Jay Sorg Date: Wed, 1 May 2013 23:41:44 -0700 Subject: [PATCH] chansrv: fix for close message --- sesman/chansrv/sound.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;