aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_while.c
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-05-05 16:34:35 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-05-05 16:34:35 +0000
commit342ffcc2a1b0d991ad5bc5cc7cbc1420ca7df1e0 (patch)
tree4866966f79f2e71149e964275fde6921d3810d6c /apps/app_while.c
parenta46a4c185c53067a49dd79ce4e09583e5adc7366 (diff)
oops :)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24876 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 7af5f31c0..ea0fd4986 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_check_condition(condition)) || (end == 2)) {
+ if ((!end && !pbx_checkcondition((char *) condition)) || (end == 2)) {
/* Condition Met (clean up helper vars) */
const char *goto_str;
pbx_builtin_setvar_helper(chan, varname, NULL);