Revert previous commit, ast_test_flag64 does not exist in 1.6.2

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@272263 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.6.2
Paul Belanger 15 years ago
parent 5cf5962ebe
commit 80fe2c3ea7

@ -3868,9 +3868,9 @@ static int conf_exec(struct ast_channel *chan, void *data)
}
} else {
if (((!ast_strlen_zero(cnf->pin) &&
!ast_test_flag64(&confflags, CONFFLAG_ADMIN)) ||
!ast_test_flag(&confflags, CONFFLAG_ADMIN)) ||
(!ast_strlen_zero(cnf->pinadmin) &&
ast_test_flag64(&confflags, CONFFLAG_ADMIN))) &&
ast_test_flag(&confflags, CONFFLAG_ADMIN))) &&
(!(cnf->users == 0 && cnf->isdynamic))) {
char pin[MAX_PIN] = "";
int j;

Loading…
Cancel
Save