diff --git a/util.c b/util.c index 7e84c537..4d2d7d95 100644 --- a/util.c +++ b/util.c @@ -907,7 +907,7 @@ static bool __stratum_send(struct pool *pool, char *s, ssize_t len) sent = 0; } ssent += sent; - len -= ssent; + len -= sent; } pool->cgminer_pool_stats.times_sent++;