[asterisk-commits] seanbright: branch 1.6.0 r254546 - /branches/1.6.0/channels/chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Mar 25 12:19:40 CDT 2010


Author: seanbright
Date: Thu Mar 25 12:19:36 2010
New Revision: 254546

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=254546
Log:
Initialize stream to avoid a compilation error.

Modified:
    branches/1.6.0/channels/chan_sip.c

Modified: branches/1.6.0/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.0/channels/chan_sip.c?view=diff&rev=254546&r1=254545&r2=254546
==============================================================================
--- branches/1.6.0/channels/chan_sip.c (original)
+++ branches/1.6.0/channels/chan_sip.c Thu Mar 25 12:19:36 2010
@@ -19064,7 +19064,7 @@
 
 	if (!strcasecmp(args.param, "rtpdest")) {
 		struct sockaddr_in sin;
-		struct ast_rtp *stream;
+		struct ast_rtp *stream = NULL;
 
 		if (ast_strlen_zero(args.type))
 			args.type = "audio";




More information about the asterisk-commits mailing list