A dollar sign by itself, not indicating a start of a variable or expression prematurely ends substitution (closes issue #10939)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@85356 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Tilghman Lesher
2007-10-11 04:35:33 +00:00
parent 863ae211da
commit 18fa561af4

View File

@@ -1573,6 +1573,8 @@ static void pbx_substitute_variables_helper_full(struct ast_channel *c, struct v
nextexp = nextthing;
pos = nextexp - whereweare;
break;
default:
pos = 1;
}
}
@@ -1731,8 +1733,7 @@ static void pbx_substitute_variables_helper_full(struct ast_channel *c, struct v
count -= length;
cp2 += length;
}
} else
break;
}
}
}