diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-05-13 17:14:50 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-05-13 17:14:50 +0000 |
commit | da85418be92ba0af89d3e272c42262b8bfb9218f (patch) | |
tree | 658d8efd83f8d2048964405d9208962fa6e4f909 /res | |
parent | 2f5fde0dabcc5e0fcb7d816deb4fa845575e152c (diff) |
Merged revisions 115847 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
........
r115847 | russell | 2008-05-13 12:14:22 -0500 (Tue, 13 May 2008) | 2 lines
Initialize the start time in smdi_msg_wait. Somehow this code got lost in trunk.
........
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@115848 f38db490-d61c-443f-a65b-d21fe96a405b
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; |