[asterisk-commits] file: branch 1.6.0 r121498 - /branches/1.6.0/channels/chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Jun 10 08:38:41 CDT 2008


Author: file
Date: Tue Jun 10 08:38:40 2008
New Revision: 121498

URL: http://svn.digium.com/view/asterisk?view=rev&rev=121498
Log: (empty)

Modified:
    branches/1.6.0/channels/chan_sip.c

Modified: branches/1.6.0/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/branches/1.6.0/channels/chan_sip.c?view=diff&rev=121498&r1=121497&r2=121498
==============================================================================
--- branches/1.6.0/channels/chan_sip.c (original)
+++ branches/1.6.0/channels/chan_sip.c Tue Jun 10 08:38:40 2008
@@ -4281,7 +4281,7 @@
 	}
 
 	/* Remove link from peer to subscription of MWI */
-	if (p->relatedpeer && p->relatedpeer->mwipvt) 
+	if (p->relatedpeer && p->relatedpeer->mwipvt == p) 
 		p->relatedpeer->mwipvt = dialog_unref(p->relatedpeer->mwipvt);
 
 	if (dumphistory)




More information about the asterisk-commits mailing list