From: Mark Michelson Date: Thu, 31 Jan 2008 22:12:50 +0000 (+0000) Subject: Forgot an ! X-Git-Tag: 1.6.0-beta3~2^2~113 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0999f3bfaf1a15d0dd319f64c7e581c0d88d4a3;p=thirdparty%2Fasterisk.git Forgot an ! git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@101580 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_queue.c b/apps/app_queue.c index 8e9805a8d2..3eb4ae567e 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",