aboutsummaryrefslogtreecommitdiffstats
path: root/main/channel.c
diff options
context:
space:
mode:
authorseanbright <seanbright@f38db490-d61c-443f-a65b-d21fe96a405b>2008-08-10 20:23:50 +0000
committerseanbright <seanbright@f38db490-d61c-443f-a65b-d21fe96a405b>2008-08-10 20:23:50 +0000
commit9ae91f799ab15938b69b072b681fb606286d08ea (patch)
treeb55253e4a6cb86147db48091cca0af756faf2ed4 /main/channel.c
parent8cb986b936ea0cee5af2dccf467fe1fc5b89414b (diff)
Another batch of files from RSW. The remaining apps and a few more
files from main/ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@137089 f38db490-d61c-443f-a65b-d21fe96a405b
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 */