[asterisk-commits] mjordan: trunk r388175 - /trunk/apps/app_userevent.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu May 9 09:41:39 CDT 2013


Author: mjordan
Date: Thu May  9 09:41:38 2013
New Revision: 388175

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=388175
Log:
Don't expect to pack three tuples when you only have two

Modified:
    trunk/apps/app_userevent.c

Modified: trunk/apps/app_userevent.c
URL: http://svnview.digium.com/svn/asterisk/trunk/apps/app_userevent.c?view=diff&rev=388175&r1=388174&r2=388175
==============================================================================
--- trunk/apps/app_userevent.c (original)
+++ trunk/apps/app_userevent.c Thu May  9 09:41:38 2013
@@ -92,7 +92,7 @@
 		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) {




More information about the asterisk-commits mailing list