[asterisk-commits] dvossel: trunk r268281 - /trunk/channels/chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Jun 4 17:37:17 CDT 2010


Author: dvossel
Date: Fri Jun  4 17:37:13 2010
New Revision: 268281

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=268281
Log:
fixes compile error from uninitialized variable

Modified:
    trunk/channels/chan_sip.c

Modified: trunk/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/trunk/channels/chan_sip.c?view=diff&rev=268281&r1=268280&r2=268281
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Fri Jun  4 17:37:13 2010
@@ -18764,7 +18764,7 @@
 	}
 
 	if (p->socket.type == SIP_TRANSPORT_UDP) {
-		int ack_res;
+		int ack_res = FALSE;
 
 		/* Acknowledge whatever it is destined for */
 		if ((resp >= 100) && (resp <= 199)) {




More information about the asterisk-commits mailing list