Browse Source

Ensure we test for a pool recovering from idle so long as it's not set to disabled.

Con Kolivas 14 years ago
parent
commit
848373d13b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      cgminer.c

+ 1 - 1
cgminer.c

@@ -4131,7 +4131,7 @@ static void *watchpool_thread(void __maybe_unused *userdata)
 
 
 			if (!opt_benchmark)
 			if (!opt_benchmark)
 				reap_curl(pool);
 				reap_curl(pool);
-			if (pool->enabled != POOL_ENABLED)
+			if (pool->enabled == POOL_DISABLED)
 				continue;
 				continue;
 
 
 			/* Test pool is idle once every minute */
 			/* Test pool is idle once every minute */