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;
                                        }


_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

svn-commits mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/svn-commits

Reply via email to