ugh... another broken commit

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7066 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Kevin P. Fleming 2005-11-11 01:01:19 +00:00
parent 5545974c6a
commit 9e4c207dd3
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,7 @@
2005-11-10 Kevin P. Fleming <kpfleming@digium.com>
* app.c (ast_app_parse_options): ok, so we aren't all perfect... let's make the while loop actually work properly here (issue #5684)
* apps/app_disa.c (disa_exec): correct password file parsing (issue #5676)
* apps/app_meetme.c (conf_run): don't restrict admin users from joining a locked conference (issue #5680)

3
app.c
View File

@ -1544,7 +1544,8 @@ int ast_app_parse_options(const struct ast_app_option *options, struct ast_flags
if (*s == '(') {
/* Has argument */
arg = ++s;
while (*s && (*s++ != ')'));
while (*s && (*s != ')'))
s++;
if (*s) {
if (argloc)
args[argloc - 1] = arg;