no need to call srand() when it is already called in asterisk.c
authorRussell Bryant <russell@russellbryant.com>
Fri, 24 Jun 2005 04:38:59 +0000 (04:38 +0000)
committerRussell Bryant <russell@russellbryant.com>
Fri, 24 Jun 2005 04:38:59 +0000 (04:38 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6000 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_iax2.c

index 423fca5..003f136 100755 (executable)
@@ -9233,9 +9233,6 @@ int load_module(void)
        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;