From: Mark Spencer Date: Mon, 8 Sep 2003 22:37:47 +0000 (+0000) Subject: Fix typo X-Git-Tag: 0.5.0~6 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=76b99bb025277ce0259a563cbf0c9becd6559817;p=thirdparty%2Fasterisk.git Fix typo git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1490 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 888bef1548..cff1ae530c 100755 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -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);