diff options
Diffstat (limited to 'res')
-rw-r--r-- | res/res_smdi.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/res/res_smdi.c b/res/res_smdi.c index bd3170ee8..23fddada8 100644 --- a/res/res_smdi.c +++ b/res/res_smdi.c @@ -390,6 +390,8 @@ static void *smdi_message_wait(struct ast_smdi_interface *iface, int timeout, long diff = 0; void *msg; + start = ast_tvnow(); + while (diff < timeout) { struct timespec ts = { 0, }; struct timeval tv; |