summaryrefslogtreecommitdiff
path: root/app.c
diff options
context:
space:
mode:
authorKevin P. Fleming <kpfleming@digium.com>2005-11-11 01:01:19 +0000
committerKevin P. Fleming <kpfleming@digium.com>2005-11-11 01:01:19 +0000
commit9e4c207dd30489be44ee77c41f0f97d0290b53c5 (patch)
treed467bde8188f904aed0fe9dce0b212f567ee32bf /app.c
parent5545974c6a7b7b3008b3ce6c7d4610a075a37ecb (diff)
ugh... another broken commit
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7066 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'app.c')
-rwxr-xr-xapp.c3
1 files changed, 2 insertions, 1 deletions
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;