diff options
author | qwell <qwell@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2007-04-13 23:12:23 +0000 |
---|---|---|
committer | qwell <qwell@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2007-04-13 23:12:23 +0000 |
commit | d3f23546541b61feab4e9a671757b468537c6b9f (patch) | |
tree | 3485f7ce74d449e43e19f6658d3a4d5e6d37c398 /jpah.h | |
parent | bde8d228274e7e9e708837fd5c7a5561aa7e6255 (diff) |
Fix several places where we treat confmode as a bitmask.
It is a bitmask...sort of.. I'll explain..
confmode is used for 2 different things.
It defines both the "mode" and the "flags" of the conference.
The "mode" part is in 0x00FF and is NOT bitwise.
The "flag" part is in 0xFF00 and *IS* bitwise.
Confused yet? Good.
So, when we want to check the "mode" of the conference, we need to check only within 0xFF.
There were several places where this was not happening - but due to luck, it worked (...sort of).
That's what this patch fixes.
git-svn-id: http://svn.digium.com/svn/zaptel/branches/1.2@2422 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'jpah.h')
0 files changed, 0 insertions, 0 deletions