mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 02:37:10 +00:00 
			
		
		
		
	Fix a check in bridge_native_rtp which determined if attaching the framehook failed or not.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@395227 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		| @@ -249,7 +249,7 @@ static int native_rtp_bridge_framehook_attach(struct ast_bridge_channel *bridge_ | ||||
| 	ast_channel_lock(bridge_channel->chan); | ||||
| 	data->id = ast_framehook_attach(bridge_channel->chan, &hook); | ||||
| 	ast_channel_unlock(bridge_channel->chan); | ||||
| 	if (!data->id < 0) { | ||||
| 	if (data->id < 0) { | ||||
| 		ao2_cleanup(data); | ||||
| 		return -1; | ||||
| 	} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user