aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_dumpchan.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/app_dumpchan.c')
-rwxr-xr-xapps/app_dumpchan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_dumpchan.c b/apps/app_dumpchan.c
index 6b43bfa5d..6c36aac7c 100755
--- a/apps/app_dumpchan.c
+++ b/apps/app_dumpchan.c
@@ -51,7 +51,7 @@ static int ast_serialize_showchan(struct ast_channel *c, char *buf, size_t size)
char cgrp[256];
char pgrp[256];
- gettimeofday(&now, NULL);
+ now = ast_tvnow();
memset(buf,0,size);
if (!c)
return 0;