Browse Source

Merge branch 'bugfix_stratum_tmpwork' into bfgminer

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

+ 1 - 0
miner.c

@@ -5403,6 +5403,7 @@ static void *stratum_thread(void *userdata)
 		free(s);
 		if (pool->swork.clean) {
 			struct work work;
+			memset(&work, 0, sizeof(work));
 
 			/* Generate a single work item to update the current
 			 * block database */