Commit 8ae743fb4e0eccf47ad9c564e0789c6495353554

Con Kolivas 2013-03-08T17:15:34

Merge pull request #400 from kanoi/bflsc Show pool number in switch message

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/cgminer.c b/cgminer.c
index 10613b5..4f8c66a 100644
--- a/cgminer.c
+++ b/cgminer.c
@@ -3455,7 +3455,7 @@ void switch_pools(struct pool *selected)
 		pool_tset(pool, &pool->lagging);
 
 	if (pool != last_pool && pool_strategy != POOL_LOADBALANCE && pool_strategy != POOL_BALANCE) {
-		applog(LOG_WARNING, "Switching to %s", pool->rpc_url);
+		applog(LOG_WARNING, "Switching to pool %d %s", pool->pool_no, pool->rpc_url);
 		if (pool->has_gbt || pool->has_stratum || opt_fail_only)
 			clear_pool_work(last_pool);
 	}