diff options
Diffstat (limited to 'main')
-rw-r--r-- | main/channel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/channel.c b/main/channel.c index dec1f86ba..84485240b 100644 --- a/main/channel.c +++ b/main/channel.c @@ -1720,7 +1720,7 @@ struct ast_channel *ast_waitfor_nandfds(struct ast_channel **c, int n, int *fds, /* Wait full interval */ rms = *ms; if (whentohangup) { - rms = (whentohangup - now) * 1000; /* timeout in milliseconds */ + rms = whentohangup * 1000; /* timeout in milliseconds */ if (*ms >= 0 && *ms < rms) /* original *ms still smaller */ rms = *ms; } |