Merged revisions 89844 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r89844 | russell | 2007-11-27 17:21:13 -0600 (Tue, 27 Nov 2007) | 3 lines Instead of depending on the return value of ast_true(), explicitly set the eventwhencalled variable to 1. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89847 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
a84d13a66f
commit
45c611df49
1 changed files with 1 additions and 1 deletions
|
@ -1112,7 +1112,7 @@ static void queue_set_param(struct call_queue *q, const char *param, const char
|
|||
if (!strcasecmp(val, "vars")) {
|
||||
q->eventwhencalled = QUEUE_EVENT_VARIABLES;
|
||||
} else {
|
||||
q->eventwhencalled = -(ast_true(val));
|
||||
q->eventwhencalled = ast_true(val) ? 1 : 0;
|
||||
}
|
||||
} else if (!strcasecmp(param, "reportholdtime")) {
|
||||
q->reportholdtime = ast_true(val);
|
||||
|
|
Reference in a new issue