[Devel] setflag and isflagset functions don't represent full range of flags available

Tavis P tavis.lists at galaxytelecom.net
Sat Jul 29 00:42:13 CEST 2006


I'm trying to make use of flag value 0 ( isflagset(0) ), and an error is
generated

The dokuwiki indicates that the valid range of values is 0..31
(http://www.openser.org/dokuwiki/doku.php?id=openser_core_cookbook&DokuWiki=cae11d2ccfdd1cb73f3f4359d0b1d921#isflagset_int)

Also, the tm module parameter "branch_flag_mask" indicates that there
are 32 possible values
---
modparam("tm", "branch_flag_mask", "b00000000000000000000000000010110")
---

Perhaps the isflagset and setflag functions are mistaken?


This is the error generated when trying to use "isflagset(0)"
---
ERROR: message flag (0) must be in range 1..31
---

tavis



More information about the Devel mailing list