aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_record.c
diff options
context:
space:
mode:
authorqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-10-29 19:56:50 +0000
committerqwell <qwell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-10-29 19:56:50 +0000
commitb6f49255a360826296364898a11fab03b4b14a92 (patch)
treecd9d12f0a98794b8928fbea448a60fdeedc0d012 /apps/app_record.c
parent2e0817f0ef9d04bc7c749274f277f7c98ea360cf (diff)
Make sure we set flags to a 0 value before trying to use it. Pointed out by seanbright while I was debugging issue 11109.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@87393 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_record.c')
-rw-r--r--apps/app_record.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_record.c b/apps/app_record.c
index 654bfdd8f..83d4000fd 100644
--- a/apps/app_record.c
+++ b/apps/app_record.c
@@ -117,7 +117,7 @@ static int record_exec(struct ast_channel *chan, void *data)
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);