diff options
Diffstat (limited to 'main/channel.c')
-rw-r--r-- | main/channel.c | 4 |
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 */ |