mirror of
				git://git.openwrt.org/openwrt/openwrt.git
				synced 2025-10-31 14:04:26 -04:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
		
			428 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			428 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
| --- a/src/Reporter.c
 | |
| +++ b/src/Reporter.c
 | |
| @@ -308,6 +308,11 @@ ReportHeader* InitReport( thread_Setting
 | |
|  #else
 | |
|          // set start time
 | |
|          gettimeofday( &(reporthdr->report.startTime), NULL );
 | |
| +
 | |
| +	// set next time
 | |
| +	reporthdr->report.nextTime = reporthdr->report.startTime;
 | |
| +	TimeAdd( reporthdr->report.nextTime, reporthdr->report.intervalTime );
 | |
| +
 | |
|          /*
 | |
|           * Process the report in this thread
 | |
|           */
 |