Browse Source

Return positive for cnx_needed when no_work is true.

nfactor-troky
Con Kolivas 11 years ago
parent
commit
919a836f14
  1. 3
      cgminer.c

3
cgminer.c

@ -4999,6 +4999,9 @@ static bool cnx_needed(struct pool *pool) @@ -4999,6 +4999,9 @@ static bool cnx_needed(struct pool *pool)
return true;
if (pool_unworkable(cp))
return true;
/* We've run out of work, bring anything back to life. */
if (no_work)
return true;
return false;
}

Loading…
Cancel
Save