INN commit: trunk/lib (timer.c)
INN Commit
rra at isc.org
Sun Sep 4 13:14:59 UTC 2016
Date: Sunday, September 4, 2016 @ 06:14:59
Author: iulius
Revision: 10068
Return the right value in TMRsumone() when the timer log exceeds the buffer size
Thanks to Yuriy M. Kaminskiy for the patch.
Modified:
trunk/lib/timer.c
---------+
timer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Modified: timer.c
===================================================================
--- timer.c 2016-09-04 13:11:52 UTC (rev 10067)
+++ timer.c 2016-09-04 13:14:59 UTC (rev 10068)
@@ -354,7 +354,7 @@
if (off == len) {
warn("timer log too long while processing %s",
TMRlabel(labels, timer->id));
- return 0;
+ return off;
}
timer->total = 0;
More information about the inn-committers
mailing list