projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e8ea5e
)
Whentohangup is in seconds, not milliseconds
author
Mark Spencer
<markster@digium.com>
Fri, 12 Mar 2004 16:47:07 +0000
(16:47 +0000)
committer
Mark Spencer
<markster@digium.com>
Fri, 12 Mar 2004 16:47:07 +0000
(16:47 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2406
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
channel.c
patch
|
blob
|
history
diff --git
a/channel.c
b/channel.c
index
fac1385
..
521742c
100755
(executable)
--- a/
channel.c
+++ b/
channel.c
@@
-845,8
+845,8
@@
struct ast_channel *ast_waitfor_nandfds(struct ast_channel **c, int n, int *fds,
if (havewhen) {
if ((*ms < 0) || (whentohangup * 1000 < *ms)) {
- tv.tv_sec = whentohangup / 1000;
- tv.tv_usec = (whentohangup % 1000) * 1000;
+ tv.tv_sec = whentohangup;
+ tv.tv_usec = 0;
}
}
FD_ZERO(&rfds);