Skip to content
Snippets Groups Projects
Commit c81ff610 authored by Matthew Jordan's avatar Matthew Jordan
Browse files

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
parent f7588855
Branches
Tags
No related merge requests found
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment