Browse Source

Don't decrement staged extras count from longpoll work.

nfactor-troky
Con Kolivas 13 years ago
parent
commit
49dd8fb548
  1. 2
      cgminer.c

2
cgminer.c

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

Loading…
Cancel
Save