aboutsummaryrefslogtreecommitdiffstats
path: root/pbx.c
diff options
context:
space:
mode:
authorcitats <citats@f38db490-d61c-443f-a65b-d21fe96a405b>2004-05-17 21:15:37 +0000
committercitats <citats@f38db490-d61c-443f-a65b-d21fe96a405b>2004-05-17 21:15:37 +0000
commitec7cf34e877dfcc3e227cea4e22e9d7028d7f404 (patch)
treec2e13a52797ddd5683cedfe579b5d29f8cf76484 /pbx.c
parentc2e3743ace7c83adce11a6d87f1e2525ec79a926 (diff)
Fix compiler warning
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2994 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'pbx.c')
-rwxr-xr-xpbx.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/pbx.c b/pbx.c
index 1f77bb32d..ef5964fc0 100755
--- a/pbx.c
+++ b/pbx.c
@@ -4074,9 +4074,9 @@ int ast_pbx_outgoing_app(char *type, int format, void *data, int timeout, char *
strncpy(as->appdata, appdata, sizeof(as->appdata) - 1);
as->timeout = timeout;
if (variable) {
- tmp = ast_strdupa(variable);
- for (var = strtok_r(tmp, "|", &tmp); var; var = strtok_r(NULL, "|", &tmp))
- pbx_builtin_setvar( chan, var );
+ vartmp = ast_strdupa(variable);
+ for (var = strtok_r(vartmp, "|", &vartmp); var; var = strtok_r(NULL, "|", &vartmp))
+ pbx_builtin_setvar( chan, var );
}
/* Start a new thread, and get something handling this channel. */
pthread_attr_init(&attr);