[asterisk-commits] trunk r36182 - /trunk/channels/chan_sip.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Tue Jun 27 13:54:07 MST 2006


Author: oej
Date: Tue Jun 27 15:54:06 2006
New Revision: 36182

URL: http://svn.digium.com/view/asterisk?rev=36182&view=rev
Log:
Don't delete initid scheduled item twice... Thanks, vecher, for bugging me about this.

Modified:
    trunk/channels/chan_sip.c

Modified: trunk/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_sip.c?rev=36182&r1=36181&r2=36182&view=diff
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Tue Jun 27 15:54:06 2006
@@ -2819,8 +2819,6 @@
 		ast_log(LOG_WARNING, "Trying to destroy \"%s\", not found in dialog list?!?! \n", p->callid);
 		return;
 	} 
-	if (p->initid > -1)
-		ast_sched_del(sched, p->initid);
 
 	/* remove all current packets in this dialog */
 	while((cp = p->packets)) {



More information about the asterisk-commits mailing list