From c81ff6102fe65811512b33f1b3a897520117736a Mon Sep 17 00:00:00 2001
From: Matthew Jordan <mjordan@digium.com>
Date: Thu, 9 May 2013 14:41:38 +0000
Subject: [PATCH] Don't expect to pack three tuples when you only have two

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@388175 65c4cc65-6c06-0410-ace0-fbb531ad65f3
---
 apps/app_userevent.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/apps/app_userevent.c b/apps/app_userevent.c
index ded039e3fe..ef03d833db 100644
--- a/apps/app_userevent.c
+++ b/apps/app_userevent.c
@@ -92,7 +92,7 @@ static int userevent_exec(struct ast_channel *chan, const char *data)
 		ast_str_append(&body, 0, "%s\r\n", args.extra[x]);
 	}
 
-	blob = ast_json_pack("{s: s, s: s, s: s}",
+	blob = ast_json_pack("{s: s, s: s}",
 			     "eventname", args.eventname,
 			     "body", ast_str_buffer(body));
 	if (!blob) {
-- 
GitLab