1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-02-02 10:04:33 +00:00

Return positive for cnx_needed when no_work is true.

This commit is contained in:
Con Kolivas 2013-08-21 20:29:46 +10:00
parent 7dbe4bbeb3
commit 919a836f14

View File

@ -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;
}