diff options
Diffstat (limited to 'channels/chan_local.c')
-rw-r--r-- | channels/chan_local.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_local.c b/channels/chan_local.c index c0b571e45..63cf502cd 100644 --- a/channels/chan_local.c +++ b/channels/chan_local.c @@ -478,7 +478,7 @@ static struct local_pvt *local_alloc(char *data, int format) static struct ast_channel *local_new(struct local_pvt *p, int state) { struct ast_channel *tmp, *tmp2; - int randnum = rand() & 0xffff; + int randnum = ast_random() & 0xffff; tmp = ast_channel_alloc(1); tmp2 = ast_channel_alloc(1); |