aboutsummaryrefslogtreecommitdiffstats
path: root/app.c
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2005-11-10 23:12:09 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2005-11-10 23:12:09 +0000
commitdc51c798ce6c8acd3ae711075349d91c2fe436df (patch)
tree150b2b02473094d0193903ac6ee19dc90d45854e /app.c
parenta83209ea26dad012732dd7790f546a58e9354d6e (diff)
issue #5630, #5711, and probably others
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7051 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'app.c')
-rwxr-xr-xapp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/app.c b/app.c
index b76387825..63beed1e3 100755
--- a/app.c
+++ b/app.c
@@ -1543,7 +1543,7 @@ int ast_app_parse_options(const struct ast_app_option *options, struct ast_flags
argloc = options[curarg].arg_index;
if (*s == '(') {
/* Has argument */
- arg = s;
+ arg = ++s;
while (*++s && (*s != ')'));
if (*s) {
if (argloc)