[asterisk-commits] seanbright: branch 1.6.1 r254547 - /branches/1.6.1/channels/chan_sip.c

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


Author: seanbright
Date: Thu Mar 25 12:21:06 2010
New Revision: 254547

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

Modified:
    branches/1.6.1/channels/chan_sip.c

Modified: branches/1.6.1/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.1/channels/chan_sip.c?view=diff&rev=254547&r1=254546&r2=254547
==============================================================================
--- branches/1.6.1/channels/chan_sip.c (original)
+++ branches/1.6.1/channels/chan_sip.c Thu Mar 25 12:21:06 2010
@@ -20023,7 +20023,7 @@
 		ast_copy_string(buf, (p->t38.state == T38_DISABLED) ? "0" : "1", buflen);
 	} else 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