diff options
author | Tilghman Lesher <tilghman@meg.abyt.es> | 2008-05-01 23:06:23 +0000 |
---|---|---|
committer | Tilghman Lesher <tilghman@meg.abyt.es> | 2008-05-01 23:06:23 +0000 |
commit | b5a127daac81d625b5968068b2e0406a3dc2e0e9 (patch) | |
tree | 3df7d1e791a878179b45272be0b3f3cccf8eeee0 /apps/app_dumpchan.c | |
parent | 44af1e23d05a2b9005a4be408978a2263bf7f1a7 (diff) |
Modify TIMEOUT() to be accurate down to the millisecond.
(closes issue #10540)
Reported by: spendergrass
Patches:
20080417__bug10540.diff.txt uploaded by Corydon76 (license 14)
Tested by: blitzrage
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@115076 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_dumpchan.c')
-rw-r--r-- | 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 d01ea7aed..7742633fd 100644 --- a/apps/app_dumpchan.c +++ b/apps/app_dumpchan.c @@ -115,7 +115,7 @@ static int serialize_showchan(struct ast_channel *c, char *buf, size_t size) ast_getformatname_multiple(formatbuf, sizeof(formatbuf), c->rawwriteformat), ast_getformatname_multiple(formatbuf, sizeof(formatbuf), c->rawreadformat), c->fds[0], c->fin & ~DEBUGCHAN_FLAG, (c->fin & DEBUGCHAN_FLAG) ? " (DEBUGGED)" : "", - c->fout & ~DEBUGCHAN_FLAG, (c->fout & DEBUGCHAN_FLAG) ? " (DEBUGGED)" : "", (long)c->whentohangup, + c->fout & ~DEBUGCHAN_FLAG, (c->fout & DEBUGCHAN_FLAG) ? " (DEBUGGED)" : "", (long)c->whentohangup.tv_sec, hour, min, sec, |