aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authormmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2007-10-17 21:41:06 +0000
committermmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2007-10-17 21:41:06 +0000
commit1b21154d71b72249c3a185a8bfaf2aa0f6ec1be4 (patch)
tree999fd0d9c9be45d41d3874f146813e4e4846d9f3 /apps
parent6f91e14f19f00acbe83c8b2b590b393dd90aad65 (diff)
Merged revisions 86202 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r86202 | mmichelson | 2007-10-17 16:39:05 -0500 (Wed, 17 Oct 2007) | 6 lines Changing the strategy field of the call_queue struct to be signed instead of unsigned, since the code attempts to set the strategy to -1 if you specify a bogus strategy. While this isn't a huge issue in 1.4, it could be a problem for someone who, say, tries to use the roundrobin strategy in trunk (despite all the deprecation warnings in 1.4). ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@86208 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r--apps/app_queue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c
index d6341d36e..c3a94f065 100644
--- a/apps/app_queue.c
+++ b/apps/app_queue.c
@@ -373,7 +373,7 @@ struct call_queue {
unsigned int timeoutrestart:1;
unsigned int announceholdtime:2;
unsigned int announceposition:1;
- unsigned int strategy:3;
+ int strategy:4;
unsigned int maskmemberstatus:1;
unsigned int realtime:1;
unsigned int found:1;