summaryrefslogtreecommitdiff
path: root/main/dial.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/dial.c')
-rw-r--r--main/dial.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/dial.c b/main/dial.c
index ae6ea55fc..377d73b31 100644
--- a/main/dial.c
+++ b/main/dial.c
@@ -266,7 +266,7 @@ static int begin_dial_channel(struct ast_dial_channel *channel, struct ast_chann
channel->owner->appl = "AppDial2";
channel->owner->data = "(Outgoing Line)";
- channel->owner->whentohangup = 0;
+ memset(&channel->owner->whentohangup, 0, sizeof(channel->owner->whentohangup));
/* Inherit everything from he who spawned this dial */
if (chan) {