diff options
author | root <root@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-08-22 03:00:53 +0000 |
---|---|---|
committer | root <root@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-08-22 03:00:53 +0000 |
commit | 89f4f69b34fd0689a41675a732b517e5689d3c09 (patch) | |
tree | ad0b340bc55d414b1b02bddc6fc67255099672f1 /apps/app_random.c | |
parent | bd253096724f518c6df09577b3cc77acbedd153f (diff) |
automerge commit
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.2-netsec@40825 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_random.c')
-rw-r--r-- | apps/app_random.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/apps/app_random.c b/apps/app_random.c index cab34f31e..789e04beb 100644 --- a/apps/app_random.c +++ b/apps/app_random.c @@ -116,9 +116,8 @@ char *description(void) int usecount(void) { - int res; - STANDARD_USECOUNT(res); - return res; + /* Don't allow unload, since rand(3) depends upon this module being here. */ + return 1; } char *key() |