[svn-commits] mmichelson: trunk r421449 - in /trunk: ./ res/res_stasis.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Aug 19 14:55:58 CDT 2014


Author: mmichelson
Date: Tue Aug 19 14:55:56 2014
New Revision: 421449

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=421449
Log:
Fix compilation error on certain versions of GCC.
........

Merged revisions 421447 from http://svn.asterisk.org/svn/asterisk/branches/12
........

Merged revisions 421448 from http://svn.asterisk.org/svn/asterisk/branches/13

Modified:
    trunk/   (props changed)
    trunk/res/res_stasis.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-13-merged' - no diff available.

Modified: trunk/res/res_stasis.c
URL: http://svnview.digium.com/svn/asterisk/trunk/res/res_stasis.c?view=diff&rev=421449&r1=421448&r2=421449
==============================================================================
--- trunk/res/res_stasis.c (original)
+++ trunk/res/res_stasis.c Tue Aug 19 14:55:56 2014
@@ -1336,9 +1336,10 @@
 	control = NULL;
 
 	if (!ast_check_hangup_locked(chan) && !ast_channel_pbx(chan)) {
-		struct ast_pbx_args pbx_args = {
-			.no_hangup_chan = 1,
-		};
+		struct ast_pbx_args pbx_args;
+
+		memset(&pbx_args, 0, sizeof(pbx_args));
+		pbx_args.no_hangup_chan = 1;
 
 		res = ast_pbx_run_args(chan, &pbx_args);
 	}




More information about the svn-commits mailing list