summaryrefslogtreecommitdiff
path: root/pbx.c
diff options
context:
space:
mode:
authorMartin Pycko <martinp@digium.com>2003-06-04 16:12:51 +0000
committerMartin Pycko <martinp@digium.com>2003-06-04 16:12:51 +0000
commit521e6eece41dd4814d457dbb8155c767edb5b480 (patch)
tree1d2e15f0619b073a2da226c979505c2c07cdd817 /pbx.c
parentd30a9acc68149dedc5b875bda1bfae3de776b267 (diff)
Somehow it didnt' get updated with the previous patch
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1074 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'pbx.c')
-rwxr-xr-xpbx.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/pbx.c b/pbx.c
index f3a362254..e4041ccbf 100755
--- a/pbx.c
+++ b/pbx.c
@@ -896,7 +896,7 @@ static void pbx_substitute_variables_temp(struct ast_channel *c,const char *var,
}
}
-static void pbx_substitute_variables_helper(struct ast_channel *c,const char *cp1,char *cp2,int count)
+void pbx_substitute_variables_helper(struct ast_channel *c,const char *cp1,char *cp2,int count)
{
char *cp4;
const char *tmp, *whereweare;
@@ -909,7 +909,6 @@ static void pbx_substitute_variables_helper(struct ast_channel *c,const char *cp
/* Substitutes variables into cp2, based on string cp1, and assuming cp2 to be
zero-filled */
-
whereweare=tmp=cp1;
while(strlen(whereweare) && count) {
/* Assume we're copying the whole remaining string */