aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2007-10-17 21:39:05 +0000
committermmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2007-10-17 21:39:05 +0000
commit0bbfd161a0c845d77ba5bec35efda3f302225f85 (patch)
tree913090515cab5fcc7498497af8f262837ef171cd
parent0e5d8763f4019607be77d5802829b5dd6ff41915 (diff)
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/branches/1.4@86202 f38db490-d61c-443f-a65b-d21fe96a405b
-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 a30ba687f..7a5ba8f36 100644
--- a/apps/app_queue.c
+++ b/apps/app_queue.c
@@ -359,7 +359,7 @@ struct call_queue {
unsigned int wrapped:1;
unsigned int timeoutrestart:1;
unsigned int announceholdtime:2;
- unsigned int strategy:3;
+ int strategy:4;
unsigned int maskmemberstatus:1;
unsigned int realtime:1;
unsigned int found:1;