[svn-commits] rmudgett: trunk r274827 - /trunk/addons/chan_ooh323.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Thu Jul 8 18:23:23 CDT 2010


Author: rmudgett
Date: Thu Jul  8 18:23:17 2010
New Revision: 274827

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=274827
Log:
Fix compile of chan_ooh323.c from IPv6 integration.

Modified:
    trunk/addons/chan_ooh323.c

Modified: trunk/addons/chan_ooh323.c
URL: http://svnview.digium.com/svn/asterisk/trunk/addons/chan_ooh323.c?view=diff&rev=274827&r1=274826&r2=274827
==============================================================================
--- trunk/addons/chan_ooh323.c (original)
+++ trunk/addons/chan_ooh323.c Thu Jul  8 18:23:17 2010
@@ -484,7 +484,7 @@
 
 	ouraddr.sin_family = AF_INET;
 	ouraddr.sin_addr = ipAddr;
-	tmp = ast_sockaddr_from_sin(ouraddr);
+	ast_sockaddr_from_sin(&tmp, &ouraddr);
 	if (!(pvt->rtp = ast_rtp_instance_new("asterisk", sched, &tmp, NULL))) {
 		ast_log(LOG_WARNING, "Unable to create RTP session: %s\n", 
 				  strerror(errno));
@@ -3937,7 +3937,7 @@
 	them.sin_family = AF_INET;
 	them.sin_addr.s_addr = inet_addr(remoteIp); /* only works for IPv4 */
 	them.sin_port = htons(remotePort);
-	tmp = ast_sockaddr_from_sin(&them);
+	ast_sockaddr_from_sin(&tmp, &them);
 	ast_rtp_instance_set_remote_address(p->rtp, &tmp);
 
 	if (p->writeformat & AST_FORMAT_G726_AAL2) 




More information about the svn-commits mailing list