mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 02:37:10 +00:00 
			
		
		
		
	Opaquify channel stringfields
Continue channel opaque-ification by wrapping all of the stringfields. Eventually, we will restrict what can actually set these variables, but the purpose for now is to hide the implementation and keep people from adding code that directly accesses the channel structure. Semantic changes will follow afterward. Review: https://reviewboard.asterisk.org/r/1661/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@352348 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		| @@ -93,7 +93,7 @@ static int userevent_exec(struct ast_channel *chan, const char *data) | ||||
| 			"UserEvent: %s\r\n" | ||||
| 			"Uniqueid: %s\r\n" | ||||
| 			"%s", | ||||
| 			args.eventname, chan->uniqueid, ast_str_buffer(body)); | ||||
| 			args.eventname, ast_channel_uniqueid(chan), ast_str_buffer(body)); | ||||
|  | ||||
| 	ast_free(body); | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user