aboutsummaryrefslogtreecommitdiffstats
path: root/res/res_smdi.c
diff options
context:
space:
mode:
Diffstat (limited to 'res/res_smdi.c')
-rw-r--r--res/res_smdi.c2
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;