From d57bc8a513f1371150a8e6b4a5c80bae88708c3f Mon Sep 17 00:00:00 2001 From: Matt O'Gorman Date: Wed, 18 Jan 2006 21:12:14 +0000 Subject: Merged revisions 8194 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r8194 | mogorman | 2006-01-18 15:02:06 -0600 (Wed, 18 Jan 2006) | 3 lines Solves issue with the login proccess in meetme patch from 6136 ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8195 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_meetme.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'apps/app_meetme.c') diff --git a/apps/app_meetme.c b/apps/app_meetme.c index da6d684e3..a0a728e3b 100644 --- a/apps/app_meetme.c +++ b/apps/app_meetme.c @@ -1759,7 +1759,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 { -- cgit v1.2.3