[asterisk-commits] russell: trunk r115847 - /trunk/res/res_smdi.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue May 13 12:14:22 CDT 2008
Author: russell
Date: Tue May 13 12:14:22 2008
New Revision: 115847
URL: http://svn.digium.com/view/asterisk?view=rev&rev=115847
Log:
Initialize the start time in smdi_msg_wait. Somehow this code got lost in trunk.
Modified:
trunk/res/res_smdi.c
Modified: trunk/res/res_smdi.c
URL: http://svn.digium.com/view/asterisk/trunk/res/res_smdi.c?view=diff&rev=115847&r1=115846&r2=115847
==============================================================================
--- trunk/res/res_smdi.c (original)
+++ trunk/res/res_smdi.c Tue May 13 12:14:22 2008
@@ -419,6 +419,8 @@
struct timeval start;
long diff = 0;
void *msg;
+
+ start = ast_tvnow();
while (diff < timeout) {
struct timespec ts = { 0, };
More information about the asterisk-commits
mailing list