[asterisk-commits] dvossel: branch 1.6.2 r206878 - in /branches/1.6.2: ./ funcs/func_timeout.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Jul 16 16:45:51 CDT 2009
Author: dvossel
Date: Thu Jul 16 16:45:47 2009
New Revision: 206878
URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=206878
Log:
Merged revisions 206877 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
........
r206877 | dvossel | 2009-07-16 16:45:14 -0500 (Thu, 16 Jul 2009) | 6 lines
TIMEOUT(absolute) returned negative value.
(closes issue #15513)
Reported by: ys
........
Modified:
branches/1.6.2/ (props changed)
branches/1.6.2/funcs/func_timeout.c
Propchange: branches/1.6.2/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.
Modified: branches/1.6.2/funcs/func_timeout.c
URL: http://svn.asterisk.org/svn-view/asterisk/branches/1.6.2/funcs/func_timeout.c?view=diff&rev=206878&r1=206877&r2=206878
==============================================================================
--- branches/1.6.2/funcs/func_timeout.c (original)
+++ branches/1.6.2/funcs/func_timeout.c Thu Jul 16 16:45:47 2009
@@ -90,7 +90,7 @@
ast_copy_string(buf, "0", len);
} else {
myt = ast_tvnow();
- snprintf(buf, len, "%.3f", ast_tvdiff_ms(myt, chan->whentohangup) / 1000.0);
+ snprintf(buf, len, "%.3f", ast_tvdiff_ms(chan->whentohangup, myt) / 1000.0);
}
break;
More information about the asterisk-commits
mailing list