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:
Russell Bryant 2007-01-19 16:30:00 +00:00
parent 3fefb9d516
commit 606ee0dab4
1 changed files with 1 additions and 0 deletions

View File

@ -909,6 +909,7 @@ static int authenticate(struct mansession *s, const struct message *m)
s->writetimeout = val;
}
}
break;
}
ast_config_destroy(cfg);