From 22b0f5d30691e94b18e152ec44ed90a23f55b266 Mon Sep 17 00:00:00 2001 From: "Kevin P. Fleming" Date: Fri, 15 Jul 2005 23:00:47 +0000 Subject: 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 --- apps/app_dumpchan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/app_dumpchan.c') 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; -- cgit v1.2.3