mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 10:47:18 +00:00 
			
		
		
		
	Handle the case of a NULL state_interface when checking a realtime member.
Thanks to jmls for finding this issue. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@101576 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		| @@ -1316,7 +1316,7 @@ static void rt_handle_member_record(struct call_queue *q, char *interface, const | ||||
| 		m->dead = 0;	/* Do not delete this one. */ | ||||
| 		if (paused_str) | ||||
| 			m->paused = paused; | ||||
| 		if (strcasecmp(state_interface, m->state_interface)) { | ||||
| 		if (strcasecmp(ast_strlen_zero(state_interface) ? interface : state_interface, m->state_interface)) { | ||||
| 			remove_from_interfaces(m->state_interface); | ||||
| 			ast_copy_string(m->state_interface, state_interface, sizeof(m->state_interface)); | ||||
| 			add_to_interfaces(m->state_interface); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user