Browse Source

Don't decrement staged extras count from longpoll work.

Con Kolivas 13 years ago
parent
commit
49dd8fb548
1 changed files with 1 additions and 1 deletions
  1. 1 1
      cgminer.c

+ 1 - 1
cgminer.c

@@ -2425,7 +2425,7 @@ static int discard_stale(void)
 	HASH_ITER(hh, staged_work, work, tmp) {
 		if (stale_work(work, false)) {
 			HASH_DEL(staged_work, work);
-			if (work->clone || work->longpoll)
+			if (work->clone)
 				--staged_extras;
 			discard_work(work);
 			stale++;