diff options
author | Russell Bryant <russell@russellbryant.com> | 2006-05-05 16:36:43 +0000 |
---|---|---|
committer | Russell Bryant <russell@russellbryant.com> | 2006-05-05 16:36:43 +0000 |
commit | 816a7cf13bb2f9a715a2129478a570422e8d8843 (patch) | |
tree | 4e862deb71b9c0d447f37e62175fd6705e9e6ffe /apps/app_while.c | |
parent | 53d09cbaf749288f46882ec0cbf5e4196ef2ce15 (diff) |
constify the argument to pbx_checkcondition
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24878 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_while.c')
-rw-r--r-- | apps/app_while.c | 2 |
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); |