From: Matthew Jordan Date: Thu, 9 May 2013 14:41:38 +0000 (+0000) Subject: Don't expect to pack three tuples when you only have two X-Git-Tag: 13.0.0-beta1~1827 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c81ff6102fe65811512b33f1b3a897520117736a;p=thirdparty%2Fasterisk.git 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 --- 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) {