Switch queued count when choosing a different pool from a failed stratum pool in getwork thread.
diff --git a/cgminer.c b/cgminer.c
index b5f5e81..dfe449c 100644
--- a/cgminer.c
+++ b/cgminer.c
@@ -2684,6 +2684,8 @@ retry:
sleep(5);
if (altpool != pool) {
wc->pool = altpool;
+ inc_queued(altpool);
+ dec_queued(pool);
goto retry;
}
}