[svn-commits] seanbright: branch 1.6.2 r254548 - /branches/1.6.2/channels/chan_sip.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Mar 25 12:21:14 CDT 2010


Author: seanbright
Date: Thu Mar 25 12:21:09 2010
New Revision: 254548

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

Modified:
    branches/1.6.2/channels/chan_sip.c

Modified: branches/1.6.2/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.6.2/channels/chan_sip.c?view=diff&rev=254548&r1=254547&r2=254548
==============================================================================
--- branches/1.6.2/channels/chan_sip.c (original)
+++ branches/1.6.2/channels/chan_sip.c Thu Mar 25 12:21:09 2010
@@ -20957,7 +20957,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 svn-commits mailing list