Stop searching once we find a match

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2099 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2004-01-31 17:00:24 +00:00
parent fc7311e94c
commit 0cadef62c1

1
pbx.c
View File

@@ -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;
}
}
}