diff options
author | jpeeler <jpeeler@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-11-18 19:13:33 +0000 |
---|---|---|
committer | jpeeler <jpeeler@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-11-18 19:13:33 +0000 |
commit | 9bfe2bb2dbbcfa758cadd212c1d614adaa24f06f (patch) | |
tree | e5eaefea669a5157fefa463e8c2687a1ea7472c4 /apps/app_meetme.c | |
parent | 3f7c58e49af66ec3545a689b00267ea41dacaf7b (diff) |
(closes issue #13899)
Reported by: akkornel
This fix is the result of a bug fix in ast_app_separate_args r124395. If an argument does not exist it should always be set to a null string rather than a null pointer.
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@157365 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_meetme.c')
-rw-r--r-- | apps/app_meetme.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_meetme.c b/apps/app_meetme.c index 7102cd75d..9b6edb2f4 100644 --- a/apps/app_meetme.c +++ b/apps/app_meetme.c @@ -2711,7 +2711,7 @@ static int conf_exec(struct ast_channel *chan, void *data) if (args.options) { ast_app_parse_options(meetme_opts, &confflags, optargs, args.options); dynamic = ast_test_flag(&confflags, CONFFLAG_DYNAMIC | CONFFLAG_DYNAMICPIN); - if (ast_test_flag(&confflags, CONFFLAG_DYNAMICPIN) && !args.pin) + if (ast_test_flag(&confflags, CONFFLAG_DYNAMICPIN) && ast_strlen_zero(args.pin)) strcpy(the_pin, "q"); empty = ast_test_flag(&confflags, CONFFLAG_EMPTY | CONFFLAG_EMPTYNOPIN); |