fix the build ... oops

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@81849 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.6.0
Russell Bryant 19 years ago
parent 7c1b18f8ec
commit bc8ac382b8

@ -14013,9 +14013,9 @@ static int sip_park(struct ast_channel *chan1, struct ast_channel *chan2, struct
* that hold the channel lock and want the pvt lock. */
while (ast_channel_trylock(chan2)) {
struct sip_pvt *pvt = chan2->tech_pvt;
ast_mutex_unlock(&pvt->lock);
sip_pvt_unlock(pvt);
usleep(1);
ast_mutex_lock(&pvt->lock);
sip_pvt_lock(pvt);
}
ast_channel_masquerade(transferer, chan2);
ast_channel_unlock(chan2);

Loading…
Cancel
Save