[asterisk-commits] russell: branch russell/sched_thread r140414 - /team/russell/sched_thread/cha...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Aug 28 21:42:31 CDT 2008


Author: russell
Date: Thu Aug 28 21:42:30 2008
New Revision: 140414

URL: http://svn.digium.com/view/asterisk?view=rev&rev=140414
Log:
fix typo

Modified:
    team/russell/sched_thread/channels/chan_sip.c

Modified: team/russell/sched_thread/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/team/russell/sched_thread/channels/chan_sip.c?view=diff&rev=140414&r1=140413&r2=140414
==============================================================================
--- team/russell/sched_thread/channels/chan_sip.c (original)
+++ team/russell/sched_thread/channels/chan_sip.c Thu Aug 28 21:42:30 2008
@@ -15196,7 +15196,7 @@
 
 	/* Acknowledge sequence number - This only happens on INVITE from SIP-call */
 	/* Don't auto congest anymore since we've gotten something useful back */
-	if (sched_thread_del(sched, p->initid)) {
+	if (!sched_thread_del(sched, p->initid)) {
 		dialog_unref(p, "when you delete the initid sched, you should dec the refcount for the stored dialog ptr");
 	}
 




More information about the asterisk-commits mailing list