From 398cfbb083aa0f735a875c8101b580bc69b9b121 Mon Sep 17 00:00:00 2001 From: kpfleming Date: Fri, 11 Nov 2005 01:01:19 +0000 Subject: ugh... another broken commit git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7066 f38db490-d61c-443f-a65b-d21fe96a405b --- app.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'app.c') diff --git a/app.c b/app.c index bcb5c2259..ea83601c2 100755 --- a/app.c +++ b/app.c @@ -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; -- cgit v1.2.3