diff options
author | Kevin P. Fleming <kpfleming@digium.com> | 2005-11-10 23:18:03 +0000 |
---|---|---|
committer | Kevin P. Fleming <kpfleming@digium.com> | 2005-11-10 23:18:03 +0000 |
commit | ff364c3068bb7907335c9a903a6cb59a670eff32 (patch) | |
tree | f982880a71656821fbbcc701db96d258d4da9a8b /app.c | |
parent | b124b6d6498d0ca9f4f9410553423ba245d2607e (diff) |
slight correction to options parsing
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7052 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'app.c')
-rwxr-xr-x | app.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1544,7 +1544,7 @@ 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++ != ')')); if (*s) { if (argloc) args[argloc - 1] = arg; |