Browse Source

Roll work again after duplicating it to prevent duplicates on return to the clone function.

nfactor-troky
Con Kolivas 12 years ago
parent
commit
0c970bbd1c
  1. 3
      cgminer.c

3
cgminer.c

@ -3647,6 +3647,9 @@ static struct work *clone_work(struct work *work)
} }
roll_work(work); roll_work(work);
work_clone = make_clone(work); work_clone = make_clone(work);
/* Roll it again to prevent duplicates should this be used
* directly later on */
roll_work(work);
cloned = true; cloned = true;
} }

Loading…
Cancel
Save