On Tuesday 01 July 2003 12:13 pm, Paulo Mannheimer wrote: > Sure, here it goes. > > As you may notice, a local instance of the variable ast_include is > used in function pbx_builtin_gotoiftime > > As the local variable is not initialized to zero, its "minmask" > bitfields contain garbage, thus sometimes yielding true for > unallowed times.
Aha, yes, that's true. This is because build_timing() sometimes ditches out early, on an error condition. > BTW, nice work on the bitfield logic. Actually, no, I didn't write the bitfields -- that's Mark's work. I simply adapted the include code so that it could be harnessed from an application. -Tilghman _______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users
