[svn-commits] russell: branch russell/sla_updates r56233 - /team/russell/sla_updates/apps/

svn-commits at lists.digium.com svn-commits at lists.digium.com
Thu Feb 22 11:59:56 MST 2007


Author: russell
Date: Thu Feb 22 12:59:55 2007
New Revision: 56233

URL: http://svn.digium.com/view/asterisk?view=rev&rev=56233
Log:
Fix setting the value to pass to ast_cond_timedwait().  It has to be an absolute
time, not just the amount of time from now.

Modified:
    team/russell/sla_updates/apps/app_meetme.c

Modified: team/russell/sla_updates/apps/app_meetme.c
URL: http://svn.digium.com/view/asterisk/team/russell/sla_updates/apps/app_meetme.c?view=diff&rev=56233&r1=56232&r2=56233
==============================================================================
--- team/russell/sla_updates/apps/app_meetme.c (original)
+++ team/russell/sla_updates/apps/app_meetme.c Thu Feb 22 12:59:55 2007
@@ -3494,7 +3494,7 @@
 		return 0;
 
 	if (ts) {
-		tv = ast_samp2tv(timeout, 1000);
+		tv = ast_tvadd(ast_tvnow(), ast_samp2tv(timeout, 1000));
 		ts->tv_sec = tv.tv_sec;
 		ts->tv_nsec = tv.tv_usec * 1000;
 	}



More information about the svn-commits mailing list