Skip to content
Browse files

Zero the best share string memory when zeroing stats.

  • Loading branch information...
1 parent b53372b commit ec9b32aac0404b51fb969f753078cea525c8aafe @ckolivas committed
Showing with 1 addition and 0 deletions.
  1. +1 −0 cgminer.c
View
1 cgminer.c
@@ -3931,6 +3931,7 @@ void zero_stats(void)
total_secs = 1.0;
best_diff = 0;
total_diff1 = 0;
+ memset(best_share, 0, 8);
suffix_string(best_diff, best_share, 0);
for (i = 0; i < total_pools; i++) {

0 comments on commit ec9b32a

Please sign in to comment.
Something went wrong with that request. Please try again.