[asterisk-commits] file: branch file/rtp_engine-mark2 r185795 - /team/file/rtp_engine-mark2/res/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Apr 1 09:20:15 CDT 2009


Author: file
Date: Wed Apr  1 09:20:09 2009
New Revision: 185795

URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=185795
Log:
Ensure our local address is clean.

Modified:
    team/file/rtp_engine-mark2/res/res_rtp_asterisk.c

Modified: team/file/rtp_engine-mark2/res/res_rtp_asterisk.c
URL: http://svn.digium.com/svn-view/asterisk/team/file/rtp_engine-mark2/res/res_rtp_asterisk.c?view=diff&rev=185795&r1=185794&r2=185795
==============================================================================
--- team/file/rtp_engine-mark2/res/res_rtp_asterisk.c (original)
+++ team/file/rtp_engine-mark2/res/res_rtp_asterisk.c Wed Apr  1 09:20:09 2009
@@ -400,7 +400,7 @@
 	startplace = x;
 
 	for (;;) {
-		struct sockaddr_in local_address;
+		struct sockaddr_in local_address = { 0, };
 
 		local_address.sin_port = htons(x);
 		/* Try to bind, this will tell us whether the port is available or not */




More information about the asterisk-commits mailing list