From: Mark Spencer Date: Sat, 31 Jan 2004 17:00:24 +0000 (+0000) Subject: Stop searching once we find a match X-Git-Tag: 0.9.0~26 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0cadef62c1b0ced23ac97da31f8f41cb4a67097b;p=thirdparty%2Fasterisk.git Stop searching once we find a match git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2099 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- 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; } } }