[OpenSER-Devel] SF.net SVN: openser: [3029] trunk/modules/gflags/gflags.c
Henning Westerholt
henning.westerholt at 1und1.de
Tue Nov 6 15:41:04 UTC 2007
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