diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-05-16 03:04:59 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-05-16 03:04:59 +0000 |
commit | 71cd78c2e96d79c8392cf8f8320406f661ed30b8 (patch) | |
tree | bb39d5ebd7bb5ce406cbf6ce86b0dd834127c458 /apps | |
parent | bad3c9dde4188c9183291c557c0bb270c97dbd41 (diff) |
only initialize random number generators in one place (bug #4017)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/v1-0@5694 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rwxr-xr-x | apps/app_random.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/apps/app_random.c b/apps/app_random.c index c9f8f4788..18af80e4e 100755 --- a/apps/app_random.c +++ b/apps/app_random.c @@ -106,7 +106,6 @@ int unload_module(void) int load_module(void) { - srandom((unsigned int)getpid() + (unsigned int)time(NULL)); return ast_register_application(app_random, random_exec, random_synopsis, random_descrip); } |