Browse Source

Semi-Merge commit 'e9a65bb' into cg_merges_20130523a (move/rewrite comment only)

Conflicts:
	miner.c
Luke Dashjr 12 years ago
parent
commit
826259b98b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      miner.c

+ 1 - 1
miner.c

@@ -5856,8 +5856,8 @@ static void hashmeter(int thr_id, struct timeval *diff,
 
 	total_mhashes_done += local_mhashes;
 	local_mhashes_done += local_mhashes;
+	/* Only update with opt_log_interval */
 	if (total_diff.tv_sec < opt_log_interval)
-		/* Only update the total every opt_log_interval seconds */
 		goto out_unlock;
 	showlog = true;
 	gettimeofday(&total_tv_end, NULL);