bfc6ee6ff9
bandwidths, seen when investigating some bug where a too-high bandwidth was reported. - patch configure to not remove the -g flag from CFLAGS ok lteo@
14 lines
550 B
Plaintext
14 lines
550 B
Plaintext
$OpenBSD: patch-src_Reporter_c,v 1.3 2013/03/03 12:29:44 sthen Exp $
|
|
--- src/Reporter.c.orig Wed Mar 31 00:08:24 2010
|
|
+++ src/Reporter.c Sat Mar 2 01:58:00 2013
|
|
@@ -308,6 +308,9 @@ ReportHeader* InitReport( thread_Settings *agent ) {
|
|
#else
|
|
// set start time
|
|
gettimeofday( &(reporthdr->report.startTime), NULL );
|
|
+ reporthdr->report.nextTime = reporthdr->report.startTime;
|
|
+ TimeAdd(reporthdr->report.nextTime, reporthdr->report.intervalTime);
|
|
+
|
|
/*
|
|
* Process the report in this thread
|
|
*/
|