diff options
author | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-01-31 22:12:50 +0000 |
---|---|---|
committer | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-01-31 22:12:50 +0000 |
commit | b1b73f307f691eb5b47a26d259f8a83e8c8c1546 (patch) | |
tree | 0c384584c3adcab69f6717808808f3309bf49525 /apps | |
parent | 0aa75c94cb7068e91db1b55fd2f3e99cfa9a773e (diff) |
Forgot an !
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@101580 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r-- | apps/app_queue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c index 8e9805a8d..3eb4ae567 100644 --- a/apps/app_queue.c +++ b/apps/app_queue.c @@ -1437,7 +1437,7 @@ static struct call_queue *find_queue_by_name_rt(const char *queuename, struct as * will allocate the members properly */ for (tmpvar = queue_vars; tmpvar; tmpvar = tmpvar->next) { - if (strcasecmp(tmpvar->name, "strategy")) { + if (!strcasecmp(tmpvar->name, "strategy")) { q->strategy = strat2int(tmpvar->value); if (q->strategy < 0) { ast_log(LOG_WARNING, "'%s' isn't a valid strategy for queue '%s', using ringall instead\n", |