summaryrefslogtreecommitdiff
path: root/apps/app_page.c
diff options
context:
space:
mode:
authorTilghman Lesher <tilghman@meg.abyt.es>2006-04-05 17:44:44 +0000
committerTilghman Lesher <tilghman@meg.abyt.es>2006-04-05 17:44:44 +0000
commit756c7cbb120c73de72f8e8dedcba1facea5029bd (patch)
tree6334c0ffd529b865c510fbfb7a06b71e2c6d6ceb /apps/app_page.c
parent701b49027ddc212cc34d5d0bafe537a294f482dc (diff)
Bug 6873 - Finish moving from the non-threadsafe (and poor randomness) rand() to threadsafe ast_random()
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17627 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_page.c')
-rw-r--r--apps/app_page.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_page.c b/apps/app_page.c
index a9ad2c16d..6051db440 100644
--- a/apps/app_page.c
+++ b/apps/app_page.c
@@ -143,7 +143,7 @@ static int page_exec(struct ast_channel *chan, void *data)
char *tech, *resource;
char meetmeopts[80];
struct ast_flags flags = { 0 };
- unsigned int confid = rand();
+ unsigned int confid = ast_random();
struct ast_app *app;
char *tmp;
int res=0;