git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1490 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2003-09-08 22:37:47 +00:00
parent 14dd5077a9
commit 76b99bb025

View File

@@ -434,7 +434,7 @@ static int retrans_pkt(void *data)
} else {
ast_log(LOG_WARNING, "Maximum retries exceeded on call %s for seqno %d (%s)\n", pkt->owner->callid, pkt->seqno, pkt->resp ? "Response" : "Request");
pkt->retransid = -1;
while(pkt->owner->owner && !ast_mutex_lock(&pkt->owner->owner->lock)) {
while(pkt->owner->owner && ast_mutex_lock(&pkt->owner->owner->lock)) {
ast_mutex_unlock(&pkt->owner->lock);
usleep(1);
ast_mutex_lock(&pkt->owner->lock);