Browse Source

Bugfix: Reset pool bytes received when zeroing stats

Luke Dashjr 13 years ago
parent
commit
1a0c3b1cb7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      miner.c

+ 1 - 1
miner.c

@@ -4790,7 +4790,7 @@ void zero_stats(void)
 		pool->cgminer_pool_stats.times_sent = 0;
 		pool->cgminer_pool_stats.bytes_sent = 0;
 		pool->cgminer_pool_stats.times_received = 0;
-		pool->cgminer_pool_stats.times_received = 0;
+		pool->cgminer_pool_stats.bytes_received = 0;
 	}
 
 	mutex_lock(&hash_lock);