diff options
author | Kevin P. Fleming <kpfleming@digium.com> | 2005-07-15 23:00:47 +0000 |
---|---|---|
committer | Kevin P. Fleming <kpfleming@digium.com> | 2005-07-15 23:00:47 +0000 |
commit | 22b0f5d30691e94b18e152ec44ed90a23f55b266 (patch) | |
tree | 896015cada90b49858e1bf6503d9583704a56179 /apps/app_voicemail.c | |
parent | 60cd1fa57deeb80b7a564fd81194797b503d4846 (diff) |
add a library of timeval manipulation functions, and change a large number of usses to use the new functions (bug #4504)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6146 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_voicemail.c')
-rwxr-xr-x | apps/app_voicemail.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index a20bf730a..e5a52f06d 100755 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -3295,7 +3295,7 @@ static int play_message_datetime(struct ast_channel *chan, struct ast_vm_user *v #if 0 /* Set the DIFF_* variables */ localtime_r(&t, &time_now); - gettimeofday(&tv_now,NULL); + tv_now = ast_tvnow(); tnow = tv_now.tv_sec; localtime_r(&tnow,&time_then); |