[Asterisk-cvs] asterisk/channels chan_iax2.c,1.177,1.178

markster at lists.digium.com markster at lists.digium.com
Sun Aug 15 22:11:03 CDT 2004


Update of /usr/cvsroot/asterisk/channels
In directory localhost.localdomain:/tmp/cvs-serv1069/channels

Modified Files:
	chan_iax2.c 
Log Message:
Fix trivial typo (bug #2253)


Index: chan_iax2.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_iax2.c,v
retrieving revision 1.177
retrieving revision 1.178
diff -u -d -r1.177 -r1.178
--- chan_iax2.c	8 Aug 2004 17:15:02 -0000	1.177
+++ chan_iax2.c	16 Aug 2004 01:57:10 -0000	1.178
@@ -7207,7 +7207,7 @@
 	srand(time(NULL));
 	
 	sin.sin_family = AF_INET;
-	sin.sin_port = ntohs(IAX_DEFAULT_PORTNO);
+	sin.sin_port = htons(IAX_DEFAULT_PORTNO);
 	sin.sin_addr.s_addr = INADDR_ANY;
 
 #ifdef IAX_TRUNKING




More information about the svn-commits mailing list