[OpenSER-Devel] SF.net SVN: openser: [3029] trunk/modules/gflags/gflags.c
Bogdan-Andrei Iancu
bogdan at voice-system.ro
Tue Nov 6 15:43:49 UTC 2007
Hi Henning,
Perfect :) ! Thanks for the extra docs ...all the time welcomed.
Regards,
Bogdan
Henning Westerholt wrote:
> On Tuesday 06 November 2007, Bogdan-Andrei Iancu wrote:
>
>> [..]
>> Hi Henning,
>>
>>> But the check with the fifo command get this
>>>
>>> $ openserctl fifo is_gflag 1
>>> TRUE
>>> $ openserctl fifo is_gflag 2
>>> FALSE
>>> $ openserctl fifo is_gflag 3
>>> TRUE
>>> $ openserctl fifo is_gflag 4
>>> FALSE
>>> $ openserctl fifo is_gflag 5
>>> ...
>>>
>>> Is this correct?
>>>
>> yes, because the argument is a bitmask and not an index. So, bitmask 1
>> and 3 and 5 (and other odd numbers) will check the flag index 1 :)
>>
>
>
> Hi Bogdan,
>
> you're right, now i understand it. :) I've reverted the commit, and added a
> little more documentation.
>
> Thank you,
>
> Henning
>
>
More information about the Devel
mailing list