Merged revisions 8194 via svnmerge from
authorMatt O'Gorman <mogorman@digium.com>
Wed, 18 Jan 2006 21:12:14 +0000 (21:12 +0000)
committerMatt O'Gorman <mogorman@digium.com>
Wed, 18 Jan 2006 21:12:14 +0000 (21:12 +0000)
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

index da6d684..a0a728e 100644 (file)
@@ -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 {