diff options
Diffstat (limited to 'apps/app_sayunixtime.c')
-rwxr-xr-x | apps/app_sayunixtime.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_sayunixtime.c b/apps/app_sayunixtime.c index a641779d4..06091911e 100755 --- a/apps/app_sayunixtime.c +++ b/apps/app_sayunixtime.c @@ -69,7 +69,7 @@ static int sayunixtime_exec(struct ast_channel *chan, void *data) LOCAL_USER_ADD(u); - gettimeofday(&tv,NULL); + tv = ast_tvnow(); unixtime = (time_t)tv.tv_sec; if( !strcasecmp(chan->language, "da" ) ) { |