Browse Source

Fix logic fail on partial writes with stratum send that was leading to corrupt message submissions.

nfactor-troky
Con Kolivas 12 years ago
parent
commit
903c666326
  1. 2
      util.c

2
util.c

@ -907,7 +907,7 @@ static bool __stratum_send(struct pool *pool, char *s, ssize_t len) @@ -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++;

Loading…
Cancel
Save