https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r33297 | file | 2006-06-09 15:26:42 -0300 (Fri, 09 Jun 2006) | 2 lines
Remove an unneeded double lock (issue #7310 reported by arkadia)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33298
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
if (iaxs[callno]) {
iaxs[callno]->authfail = failcode;
if (delayreject) {
- ast_mutex_lock(&iaxsl[callno]);
if (iaxs[callno]->authid > -1)
ast_sched_del(sched, iaxs[callno]->authid);
iaxs[callno]->authid = ast_sched_add(sched, 1000, auth_reject, (void *)(long)callno);
- ast_mutex_unlock(&iaxsl[callno]);
} else
auth_reject((void *)(long)callno);
}