aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 a0e5ca063..736038ecd 100644
--- a/apps/app_while.c
+++ b/apps/app_while.c
@@ -269,7 +269,7 @@ static int _while_exec(struct ast_channel *chan, void *data, int end)
}
- if (!end && !pbx_check_condition(condition)) {
+ if (!end && !pbx_checkcondition(condition)) {
/* Condition Met (clean up helper vars) */
pbx_builtin_setvar_helper(chan, varname, NULL);
pbx_builtin_setvar_helper(chan, my_name, NULL);