[asterisk-commits] oej: branch oej/sip-max-forwards-1.4 r288060 - /team/oej/sip-max-forwards-1.4...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Sep 21 15:26:55 CDT 2010
Author: oej
Date: Tue Sep 21 15:26:50 2010
New Revision: 288060
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=288060
Log:
It stared me in the face all the time. Shame on me.
Modified:
team/oej/sip-max-forwards-1.4/channels/chan_sip.c
Modified: team/oej/sip-max-forwards-1.4/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/team/oej/sip-max-forwards-1.4/channels/chan_sip.c?view=diff&rev=288060&r1=288059&r2=288060
==============================================================================
--- team/oej/sip-max-forwards-1.4/channels/chan_sip.c (original)
+++ team/oej/sip-max-forwards-1.4/channels/chan_sip.c Tue Sep 21 15:26:50 2010
@@ -6213,9 +6213,9 @@
/* deadlock avoidance */
while (dialog->owner && ast_channel_trylock(dialog->owner)) {
+ ast_mutex_unlock(&dialog->lock);
+ usleep(1);
ast_mutex_lock(&dialog->lock);
- usleep(1);
- ast_mutex_unlock(&dialog->lock);
}
if (dialog->owner) {
More information about the asterisk-commits
mailing list