Browse Source

Merge commit '12bf9ff' into bfgminer-2.9.x

Luke Dashjr 13 years ago
parent
commit
aed26e2f51
1 changed files with 1 additions and 0 deletions
  1. 1 0
      util.c

+ 1 - 0
util.c

@@ -1326,6 +1326,7 @@ bool initiate_stratum(struct pool *pool)
 		if (unlikely(!pool->stratum_curl))
 		if (unlikely(!pool->stratum_curl))
 			quit(1, "Failed to curl_easy_init in initiate_stratum");
 			quit(1, "Failed to curl_easy_init in initiate_stratum");
 	}
 	}
+	pool->readbuf.len = 0;
 	mutex_unlock(&pool->stratum_lock);
 	mutex_unlock(&pool->stratum_lock);
 	curl = pool->stratum_curl;
 	curl = pool->stratum_curl;