aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormogorman <mogorman@f38db490-d61c-443f-a65b-d21fe96a405b>2006-01-18 21:02:06 +0000
committermogorman <mogorman@f38db490-d61c-443f-a65b-d21fe96a405b>2006-01-18 21:02:06 +0000
commit9d480e38922b8513ad6048ded03b8962ba27c0bb (patch)
treec2293c23679ca70e024f6aa8b8be554dcea37722
parent24ef7d105ca074d228e41dea71514005889a17a7 (diff)
Solves issue with the login proccess in meetme
patch from 6136 git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2@8194 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--apps/app_meetme.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/app_meetme.c b/apps/app_meetme.c
index 40cfb616e..45a738fa2 100644
--- a/apps/app_meetme.c
+++ b/apps/app_meetme.c
@@ -1630,7 +1630,8 @@ static struct ast_conference *find_conf(struct ast_channel *chan, char *confno,
if (dynamic_pin) {
if (dynamic_pin[0] == 'q') {
/* Query the user to enter a PIN */
- ast_app_getdata(chan, "conf-getpin", dynamic_pin, AST_MAX_EXTENSION - 1, 0);
+ if (ast_app_getdata(chan, "conf-getpin", dynamic_pin, AST_MAX_EXTENSION - 1, 0) < 0)
+ return NULL;
}
cnf = build_conf(confno, dynamic_pin, "", make, dynamic);
} else {