[asterisk-dev] app_queue::eventwhencalled

Tilghman Lesher tilghman at mail.jeffandtilghman.com
Wed Jul 26 12:59:58 MST 2006


On Wednesday 26 July 2006 14:09, John Martin wrote:
> In trunk of app_queue.c since r35504(22nd June):
>
> Have I got the purpose of eventwhencalled wrong or should the second
> strcasecmp in the following code be a !strcasecmp...
>
> 	} else if (!strcasecmp(param, "eventwhencalled")) {
> 		if (strcasecmp(val, "vars")) {
> 			q->eventwhencalled = QUEUE_EVENT_VARIABLES;
>
>
> so should be...
>
>
> 	} else if (!strcasecmp(param, "eventwhencalled")) {
> 		if (!strcasecmp(val, "vars")) {
> 			q->eventwhencalled = QUEUE_EVENT_VARIABLES;

Yep.  Good catch.

-- 
Tilghman



More information about the asterisk-dev mailing list