From f52f02e9b7c64f7c937095158ec2ef7e5e7ab74e Mon Sep 17 00:00:00 2001 From: Kano Date: Sat, 26 Jan 2013 21:57:09 +1100 Subject: [PATCH] Stratum disconnect shares - count total against stale --- cgminer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cgminer.c b/cgminer.c index 279b7af9..d0faff00 100644 --- a/cgminer.c +++ b/cgminer.c @@ -4581,8 +4581,8 @@ static void clear_stratum_shares(struct pool *pool) if (cleared) { applog(LOG_WARNING, "Lost %d shares due to stratum disconnect on pool %d", cleared, pool->pool_no); - pool->stale_shares++; - total_stale++; + pool->stale_shares += cleared; + total_stale += cleared; } }