aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_dial.c
diff options
context:
space:
mode:
authordvossel <dvossel@f38db490-d61c-443f-a65b-d21fe96a405b>2009-03-19 20:33:19 +0000
committerdvossel <dvossel@f38db490-d61c-443f-a65b-d21fe96a405b>2009-03-19 20:33:19 +0000
commit6e2a49538d79da77d43e73d9edfb3848f36de5e3 (patch)
tree753d121276d6eb04518a5594b939641e6b3d9a66 /apps/app_dial.c
parent4816f49f0dfa87d2ffeb06c5eb30b9e29d2d3e1e (diff)
Merged revisions 183436 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ................ r183436 | dvossel | 2009-03-19 15:30:39 -0500 (Thu, 19 Mar 2009) | 13 lines Merged revisions 183386 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r183386 | dvossel | 2009-03-19 14:40:07 -0500 (Thu, 19 Mar 2009) | 6 lines Cleaning up a few things in detect disconnect patch Initialized ast_call_feature in detect_disconnect to avoid accessing uninitialized memory. Cleaned up /param tags in features.h. No longer send dynamic features in ast_feature_detect. issue #11583 ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.1@183438 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_dial.c')
-rw-r--r--apps/app_dial.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_dial.c b/apps/app_dial.c
index 5d41f85b4..984dd8f5c 100644
--- a/apps/app_dial.c
+++ b/apps/app_dial.c
@@ -889,7 +889,7 @@ static struct ast_channel *wait_for_answer(struct ast_channel *in,
static int detect_disconnect(struct ast_channel *chan, char code, struct ast_str *featurecode)
{
struct ast_flags features = { AST_FEATURE_DISCONNECT }; /* only concerned with disconnect feature */
- struct ast_call_feature feature;
+ struct ast_call_feature feature = { 0, };
int res;
ast_str_append(&featurecode, 1, "%c", code);