Permalink
Browse files

Ensure we test for a pool recovering from idle so long as it's not se…

…t to disabled.
  • Loading branch information...
1 parent b85d7b5 commit 848373d13b48124d3479eed3b22764931388199b @ckolivas committed May 6, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 cgminer.c
View
@@ -4131,7 +4131,7 @@ static void *watchpool_thread(void __maybe_unused *userdata)
if (!opt_benchmark)
reap_curl(pool);
- if (pool->enabled != POOL_ENABLED)
+ if (pool->enabled == POOL_DISABLED)
continue;
/* Test pool is idle once every minute */

0 comments on commit 848373d

Please sign in to comment.