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
This commit is contained in:
Mark Spencer
2005-03-27 22:29:57 +00:00
parent 03da4fbf3b
commit b0b916c16c
3 changed files with 55 additions and 8 deletions

3
app.c
View File

@@ -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;
}