aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_while.c
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-05-05 16:36:43 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-05-05 16:36:43 +0000
commit1765f1195c305ff0bee97fbab34120aa6ddc8f01 (patch)
tree4e862deb71b9c0d447f37e62175fd6705e9e6ffe /apps/app_while.c
parent342ffcc2a1b0d991ad5bc5cc7cbc1420ca7df1e0 (diff)
constify the argument to pbx_checkcondition
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24878 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_while.c')
-rw-r--r--apps/app_while.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_while.c b/apps/app_while.c
index ea0fd4986..88996b92a 100644
--- a/apps/app_while.c
+++ b/apps/app_while.c
@@ -277,7 +277,7 @@ static int _while_exec(struct ast_channel *chan, void *data, int end)
}
- if ((!end && !pbx_checkcondition((char *) condition)) || (end == 2)) {
+ if ((!end && !pbx_checkcondition(condition)) || (end == 2)) {
/* Condition Met (clean up helper vars) */
const char *goto_str;
pbx_builtin_setvar_helper(chan, varname, NULL);