aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_while.c
diff options
context:
space:
mode:
authorseanbright <seanbright@f38db490-d61c-443f-a65b-d21fe96a405b>2008-08-10 14:45:25 +0000
committerseanbright <seanbright@f38db490-d61c-443f-a65b-d21fe96a405b>2008-08-10 14:45:25 +0000
commit842faddb76b6fbcbd623292bf1656d76eb22f3a7 (patch)
tree9d240f929d1efd30035a0505db16ba0f8e1ca439 /apps/app_while.c
parent1013afa1ad09d854207d24d3aed691321fecc100 (diff)
More RSW merges. Everything from apps/ except for the big offenders
app_voicemail and app_queue. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@137055 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_while.c')
-rw-r--r--apps/app_while.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/app_while.c b/apps/app_while.c
index 36dd17c5f..822458663 100644
--- a/apps/app_while.c
+++ b/apps/app_while.c
@@ -60,10 +60,10 @@ static char *continue_synopsis = "Restart a While loop";
#define VAR_SIZE 64
-static const char *get_index(struct ast_channel *chan, const char *prefix, int index) {
+static const char *get_index(struct ast_channel *chan, const char *prefix, int idx) {
char varname[VAR_SIZE];
- snprintf(varname, VAR_SIZE, "%s_%d", prefix, index);
+ snprintf(varname, VAR_SIZE, "%s_%d", prefix, idx);
return pbx_builtin_getvar_helper(chan, varname);
}