Commit 81c02123f8e95862edbcab83d5e3d766aa8ccf4e

Con Kolivas 2013-03-09T09:56:36

Set pool died on failed testing to allow idle flag and time to be set.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/cgminer.c b/cgminer.c
index fece449..c990911 100644
--- a/cgminer.c
+++ b/cgminer.c
@@ -6980,7 +6980,8 @@ static void *test_pool_thread(void *arg)
 		}
 		mutex_unlock(&control_lock);
 		pool_resus(pool);
-	}
+	} else
+		pool_died(pool);
 
 	return NULL;
 }