summaryrefslogtreecommitdiff
path: root/pbx.c
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2004-01-31 17:00:24 +0000
committerMark Spencer <markster@digium.com>2004-01-31 17:00:24 +0000
commit0cadef62c1b0ced23ac97da31f8f41cb4a67097b (patch)
treea60a6f6570168f3cc8f796b737f9f30b938de6c2 /pbx.c
parentfc7311e94c6a2df1c21bc2302357200bfaa0cac4 (diff)
Stop searching once we find a match
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2099 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'pbx.c')
-rwxr-xr-xpbx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/pbx.c b/pbx.c
index 4af22c28f..6f05528c5 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;
}
}
}