[asterisk-commits] qwell: trunk r259587 - /trunk/channels/sip/dialplan_functions.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Apr 27 17:28:20 CDT 2010


Author: qwell
Date: Tue Apr 27 17:28:16 2010
New Revision: 259587

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=259587
Log:
Be more explicit about field naming in a test.

Modified:
    trunk/channels/sip/dialplan_functions.c

Modified: trunk/channels/sip/dialplan_functions.c
URL: http://svnview.digium.com/svn/asterisk/trunk/channels/sip/dialplan_functions.c?view=diff&rev=259587&r1=259586&r2=259587
==============================================================================
--- trunk/channels/sip/dialplan_functions.c (original)
+++ trunk/channels/sip/dialplan_functions.c Tue Apr 27 17:28:16 2010
@@ -262,7 +262,7 @@
 		.write = test_sip_rtpqos_1_write,
 		.get_stat = test_sip_rtpqos_1_get_stat,
 	};
-	struct sockaddr_in sin = { .sin_port = 31337, .sin_addr = { 4 * 16777216 + 3 * 65536 + 2 * 256 + 1 } };
+	struct sockaddr_in sin = { .sin_port = 31337, .sin_addr = { .s_addr = 4 * 16777216 + 3 * 65536 + 2 * 256 + 1 } };
 	struct ast_rtp_instance_stats mine = { 0, };
 	struct sip_pvt *p = NULL;
 	struct ast_channel *chan = NULL;




More information about the asterisk-commits mailing list