mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 10:47:18 +00:00 
			
		
		
		
	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
This commit is contained in:
		| @@ -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; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user