diff options
author | Matthew Jordan <mjordan@digium.com> | 2013-05-09 14:41:38 +0000 |
---|---|---|
committer | Matthew Jordan <mjordan@digium.com> | 2013-05-09 14:41:38 +0000 |
commit | c81ff6102fe65811512b33f1b3a897520117736a (patch) | |
tree | 95001f31bc9640fa3531706876921fb5c690ff13 /apps | |
parent | f758885546e9d7860c971c887d4cae1e8d1117bf (diff) |
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
Diffstat (limited to 'apps')
-rw-r--r-- | apps/app_userevent.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_userevent.c b/apps/app_userevent.c index ded039e3f..ef03d833d 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) { |