Break out of the config processing loop for manager.conf once the correct user
has been found so that 'cat' is non-NULL. This way, users.conf is only checked when necessary. (issue #8852, akohlsmith, committed patch a bit different) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51296 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
parent
3fefb9d516
commit
606ee0dab4
|
@ -909,6 +909,7 @@ static int authenticate(struct mansession *s, const struct message *m)
|
|||
s->writetimeout = val;
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
ast_config_destroy(cfg);
|
||||
|
|
Loading…
Reference in New Issue