[asterisk-commits] qwell: trunk r87393 - /trunk/apps/app_record.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Oct 29 14:56:50 CDT 2007


Author: qwell
Date: Mon Oct 29 14:56:50 2007
New Revision: 87393

URL: http://svn.digium.com/view/asterisk?view=rev&rev=87393
Log:
Make sure we set flags to a 0 value before trying to use it.  Pointed out by seanbright while I was debugging issue 11109.

Modified:
    trunk/apps/app_record.c

Modified: trunk/apps/app_record.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_record.c?view=diff&rev=87393&r1=87392&r2=87393
==============================================================================
--- trunk/apps/app_record.c (original)
+++ trunk/apps/app_record.c Mon Oct 29 14:56:50 2007
@@ -117,7 +117,7 @@
 	int ioflags;
 	int waitres;
 	struct ast_silence_generator *silgen = NULL;
-	struct ast_flags flags;
+	struct ast_flags flags = { 0, };
 	AST_DECLARE_APP_ARGS(args,
 		AST_APP_ARG(filename);
 		AST_APP_ARG(silence);




More information about the asterisk-commits mailing list