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. BTW, nice work on the bitfield logic. PauloHM -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tilghman Lesher Sent: July 01, 2003 1:24 PM To: [EMAIL PROTECTED] Subject: Re: [Asterisk-Users] gotoiftime error On Tuesday 01 July 2003 09:08 am, Paulo Mannheimer wrote: > Hi folks, > > There was a bug with the GotoIfTime built-in command, under certain > circumstances a variable contained garbage, screwing up correct > time identification. > > I'm submitting now a patch to Mark so this can be fixed. What exactly was the error? Could you post the patch here? Since I wrote the GotoIfTime application, I'm curious to know what the bug was. -Tilghman _______________________________________________ Asterisk-Users mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-users
gotoiftime.diff
Description: Binary data
