mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 02:37:10 +00:00 
			
		
		
		
	Fixed some extra field assertion when the event WebSocket is connected
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@389343 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
		| @@ -87,8 +87,7 @@ static int userevent_exec(struct ast_channel *chan, const char *data) | ||||
|  | ||||
| 	AST_STANDARD_APP_ARGS(args, parse); | ||||
|  | ||||
| 	blob = ast_json_pack("{s: s, s: s}", | ||||
| 			     "type", "userevent", | ||||
| 	blob = ast_json_pack("{s: s}", | ||||
| 			     "eventname", args.eventname); | ||||
| 	if (!blob) { | ||||
| 		return -1; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user