[asterisk-commits] rizzo: trunk r76279 - /trunk/channels/chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sat Jul 21 04:35:49 CDT 2007


Author: rizzo
Date: Sat Jul 21 04:35:48 2007
New Revision: 76279

URL: http://svn.digium.com/view/asterisk?view=rev&rev=76279
Log:
whoops... was setting needdestroy on the wrong dialog.
(spotted by a diff with my own branch)


Modified:
    trunk/channels/chan_sip.c

Modified: trunk/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_sip.c?view=diff&rev=76279&r1=76278&r2=76279
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Sat Jul 21 04:35:48 2007
@@ -15550,7 +15550,7 @@
 				if (!strcmp(p_old->username, p->username)) {
 					if (!strcmp(p_old->exten, p->exten) &&
 					    !strcmp(p_old->context, p->context)) {
-						p->needdestroy = 1;
+						p_old->needdestroy = 1;
 						sip_pvt_unlock(p_old);
 						break;
 					}




More information about the asterisk-commits mailing list