From 848373d13b48124d3479eed3b22764931388199b Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Sun, 6 May 2012 14:24:50 +1000 Subject: [PATCH] Ensure we test for a pool recovering from idle so long as it's not set to disabled. --- cgminer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cgminer.c b/cgminer.c index 677e47dd..8340ac90 100644 --- a/cgminer.c +++ b/cgminer.c @@ -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 */