[asterisk-commits] russell: trunk r85944 - /trunk/channels/chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Oct 16 15:32:16 CDT 2007


Author: russell
Date: Tue Oct 16 15:32:16 2007
New Revision: 85944

URL: http://svn.digium.com/view/asterisk?view=rev&rev=85944
Log:
This fixes SIP subscriptions in trunk.

Don't improperly memset() over an ast_str.  This was leftover from before it
got changed to use ast_str.

(closes issue #11003, reported by pj)
(closes issue #10770, reported by yehavi)
(patched by me)

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=85944&r1=85943&r2=85944
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Tue Oct 16 15:32:16 2007
@@ -7815,7 +7815,6 @@
 
 	memset(from, 0, sizeof(from));
 	memset(to, 0, sizeof(to));
-	memset(tmp, 0, sizeof(tmp));
 
 	switch (state) {
 	case (AST_EXTENSION_RINGING | AST_EXTENSION_INUSE):




More information about the asterisk-commits mailing list