From: Richard Mudgett Date: Fri, 7 Oct 2011 19:34:55 +0000 (+0000) Subject: Initialize option flags for SendURL application. X-Git-Tag: 1.8.9.0-rc1~169 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2fb42fc3daf92149c7b679240bf240edecd8ac0e;p=thirdparty%2Fasterisk.git Initialize option flags for SendURL application. (closes issue ASTERISK-18574) Reported by: marcelloceschia git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@339776 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_url.c b/apps/app_url.c index f33890c76a..00ea720472 100644 --- a/apps/app_url.c +++ b/apps/app_url.c @@ -101,7 +101,7 @@ static int sendurl_exec(struct ast_channel *chan, const char *data) struct ast_frame *f; char *status = "FAILURE"; char *opts[0]; - struct ast_flags flags; + struct ast_flags flags = { 0 }; AST_DECLARE_APP_ARGS(args, AST_APP_ARG(url); AST_APP_ARG(options);