[SR-Users] Fix at IMC module

Shankar shankar.rk at plintron.com
Fri Aug 2 10:40:33 CEST 2013


Hello,

 

While testing group chat via IMC module, we found that owner of a chat room
could not destroy the room or invite new users to a chat room after few
message exchange. 

 

We had modified the code at “imc_cmd.c” to fix this issue. 

 

Fix,

 

member->flags &= ~IMC_MEMBER_SKIP;   à member->flags &= ~(IMC_MEMBER_SKIP);

 

where

 

~IMC_MEMBER_SKIP is defined as ‘#define IMC_MEMBER_SKIP     1<<4’. 

 

Here ~ takes precedence over the << operator. With this fix the owner of the
chat-room is able to invite new users during a chat and destroy the room. 

 

Regards,

Shankar



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20130802/921218cf/attachment.html>


More information about the sr-users mailing list