[Asterisk-cvs] asterisk/channels chan_iax2.c,1.313,1.314

russell at lists.digium.com russell at lists.digium.com
Fri Jun 24 00:38:28 CDT 2005


Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv25253/channels

Modified Files:
	chan_iax2.c 
Log Message:
no need to call srand() when it is already called in asterisk.c


Index: chan_iax2.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_iax2.c,v
retrieving revision 1.313
retrieving revision 1.314
diff -u -d -r1.313 -r1.314
--- chan_iax2.c	24 Jun 2005 02:15:04 -0000	1.313
+++ chan_iax2.c	24 Jun 2005 04:38:59 -0000	1.314
@@ -9233,9 +9233,6 @@
 	jb_setoutput(jb_error_output, jb_warning_output, NULL);
 #endif
 	
-	/* Seed random number generator */
-	srand(time(NULL));
-	
 	sin.sin_family = AF_INET;
 	sin.sin_port = htons(IAX_DEFAULT_PORTNO);
 	sin.sin_addr.s_addr = INADDR_ANY;




More information about the svn-commits mailing list