summaryrefslogtreecommitdiff
path: root/main/channel.c
diff options
context:
space:
mode:
authorSean Bright <sean@malleable.com>2008-08-10 20:23:50 +0000
committerSean Bright <sean@malleable.com>2008-08-10 20:23:50 +0000
commit790fde68d94de4d7e8260f8ffc0923715783555e (patch)
treeb55253e4a6cb86147db48091cca0af756faf2ed4 /main/channel.c
parentb69c8e6ab5b5d20a964d67e93cda8dc07da61fa4 (diff)
Another batch of files from RSW. The remaining apps and a few more
files from main/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@137089 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/channel.c')
-rw-r--r--main/channel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/channel.c b/main/channel.c
index 8798a41bc..83b6eea52 100644
--- a/main/channel.c
+++ b/main/channel.c
@@ -551,8 +551,8 @@ int ast_channel_cmpwhentohangup_tv(struct ast_channel *chan, struct timeval offs
int ast_channel_cmpwhentohangup(struct ast_channel *chan, time_t offset)
{
- struct timeval tv = { offset, };
- return ast_channel_cmpwhentohangup_tv(chan, tv);
+ struct timeval when = { offset, };
+ return ast_channel_cmpwhentohangup_tv(chan, when);
}
/*! \brief Register a new telephony channel in Asterisk */