From 0cadef62c1b0ced23ac97da31f8f41cb4a67097b Mon Sep 17 00:00:00 2001 From: Mark Spencer <markster@digium.com> Date: Sat, 31 Jan 2004 17:00:24 +0000 Subject: [PATCH] Stop searching once we find a match git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2099 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- pbx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/pbx.c b/pbx.c index 4af22c28f7..6f05528c58 100755 --- a/pbx.c +++ b/pbx.c @@ -893,6 +893,7 @@ static void pbx_substitute_variables_temp(struct ast_channel *c,const char *var, strncpy(workspace, *ret, workspacelen - 1); *ret = workspace; } + break; } } } -- GitLab