aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authormmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2008-01-29 19:39:00 +0000
committermmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2008-01-29 19:39:00 +0000
commit6f774c8b9fa701a9364bdac9be2bea87c204c105 (patch)
tree29335300ab8de72c17d594856b31f6023bdab8d3 /apps
parent97588c7b58e547f4dac158aa606edc7e08c4b413 (diff)
Fixing an erroneous return value returned when attempting to pause or unpause a queue member
fails. Fixes BE-366, thanks to John Bigelow for writing the patch. git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@100973 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r--apps/app_queue.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/app_queue.c b/apps/app_queue.c
index d0fa91241..761d2fc07 100644
--- a/apps/app_queue.c
+++ b/apps/app_queue.c
@@ -3444,7 +3444,7 @@ static int pqm_exec(struct ast_channel *chan, void *data)
}
ast_module_user_remove(lu);
pbx_builtin_setvar_helper(chan, "PQMSTATUS", "NOTFOUND");
- return -1;
+ return 0;
}
ast_module_user_remove(lu);
@@ -3497,7 +3497,7 @@ static int upqm_exec(struct ast_channel *chan, void *data)
}
ast_module_user_remove(lu);
pbx_builtin_setvar_helper(chan, "UPQMSTATUS", "NOTFOUND");
- return -1;
+ return 0;
}
ast_module_user_remove(lu);