Browse Source

Merge commit '3ceb57b' into bfgminer

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

+ 1 - 2
miner.c

@@ -2588,7 +2588,7 @@ retry:
 	if (ts >= maxq)
 		goto out;
 
-	if (ts >= opt_queue && tq >= maxq - 1)
+	if (ts >= opt_queue && tq >= maxq)
 		goto out;
 
 	if (clone_available())
@@ -4495,7 +4495,6 @@ keepwaiting:
 			pool_resus(pool);
 	}
 
-	work_heap = clone_work(work_heap);
 	memcpy(work, work_heap, sizeof(struct work));
 	free_work(work_heap);