[asterisk-commits] kmoore: branch 1.8 r384162 - /branches/1.8/channels/chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Mar 27 14:50:23 CDT 2013


Author: kmoore
Date: Wed Mar 27 14:50:19 2013
New Revision: 384162

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=384162
Log:
Address uninitialized conditional that valgrind found

Modified:
    branches/1.8/channels/chan_sip.c

Modified: branches/1.8/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/channels/chan_sip.c?view=diff&rev=384162&r1=384161&r2=384162
==============================================================================
--- branches/1.8/channels/chan_sip.c (original)
+++ branches/1.8/channels/chan_sip.c Wed Mar 27 14:50:19 2013
@@ -23438,7 +23438,7 @@
 
 	/* Session-Timers */
 	if ((p->sipoptions & SIP_OPT_TIMER)) {
-		enum st_refresher_param st_ref_param;
+		enum st_refresher_param st_ref_param = SESSION_TIMER_REFRESHER_PARAM_UNKNOWN;
 
 		/* The UAC has requested session-timers for this session. Negotiate
 		the session refresh interval and who will be the refresher */




More information about the asterisk-commits mailing list