projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e29b987
)
This removes an invalid warning message for an incorrectly entered pin, but more...
author
Jeff Peeler
<jpeeler@digium.com>
Mon, 21 Apr 2008 15:34:37 +0000
(15:34 +0000)
committer
Jeff Peeler
<jpeeler@digium.com>
Mon, 21 Apr 2008 15:34:37 +0000
(15:34 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@114327
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
apps/app_authenticate.c
patch
|
blob
|
history
diff --git
a/apps/app_authenticate.c
b/apps/app_authenticate.c
index
48574a4
..
8e19195
100644
(file)
--- a/
apps/app_authenticate.c
+++ b/
apps/app_authenticate.c
@@
-126,9
+126,7
@@
static int auth_exec(struct ast_channel *chan, void *data)
/* Compare against a fixed password */
if (!strcmp(passwd, arglist.password))
break;
- }
-
- if (ast_test_flag(&flags,OPT_DATABASE)) {
+ } else if (ast_test_flag(&flags,OPT_DATABASE)) {
char tmp[256];
/* Compare against a database key */
if (!ast_db_get(arglist.password + 1, passwd, tmp, sizeof(tmp))) {