mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-08 19:08:14 +00:00
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
This commit is contained in:
3
pbx.c
3
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;
|
char *cp4;
|
||||||
const char *tmp, *whereweare;
|
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
|
/* Substitutes variables into cp2, based on string cp1, and assuming cp2 to be
|
||||||
zero-filled */
|
zero-filled */
|
||||||
|
|
||||||
whereweare=tmp=cp1;
|
whereweare=tmp=cp1;
|
||||||
while(strlen(whereweare) && count) {
|
while(strlen(whereweare) && count) {
|
||||||
/* Assume we're copying the whole remaining string */
|
/* Assume we're copying the whole remaining string */
|
||||||
|
|||||||
Reference in New Issue
Block a user