diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-07-15 23:00:47 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-07-15 23:00:47 +0000 |
commit | ff15e0fa53156b9994da3f726bfe91232de6195a (patch) | |
tree | 896015cada90b49858e1bf6503d9583704a56179 /apps/app_dumpchan.c | |
parent | c05cf07847cb384ba66aa29d5eda580eda413ffb (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: http://svn.digium.com/svn/asterisk/trunk@6146 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_dumpchan.c')
-rwxr-xr-x | apps/app_dumpchan.c | 2 |
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; |