diff options
author | Mark Spencer <markster@digium.com> | 2005-03-27 22:29:57 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2005-03-27 22:29:57 +0000 |
commit | b0b916c16c0e2bdd2e46b3b229e92260519a50fd (patch) | |
tree | dee8000296db225e7ba779de729fd988e64013a6 /app.c | |
parent | 03da4fbf3b6931824cbe2cd60d09527fc3bc4395 (diff) |
Fix app bug, update skel example, add skel to makefile as option (bug #3869)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5277 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'app.c')
-rwxr-xr-x | app.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1489,7 +1489,8 @@ int ast_parseoptions(const struct ast_option *options, struct ast_flags *flags, ast_log(LOG_WARNING, "Missing closing parenthesis for argument '%c'\n", curarg); res = -1; } - } + } else if (argloc) + args[argloc - 1] = NULL; } return res; } |