Browse Source

Merge commit 'ea28140' into bfgminer

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

+ 1 - 0
util.c

@@ -1694,6 +1694,7 @@ static bool setup_stratum_curl(struct pool *pool)
 	}
 	}
 	if (pool->sock == INVSOCK)
 	if (pool->sock == INVSOCK)
 	{
 	{
+		pool->stratum_curl = NULL;
 		curl_easy_cleanup(curl);
 		curl_easy_cleanup(curl);
 		applog(LOG_ERR, "Stratum connect succeeded, but technical problem extracting socket (pool %u)", pool->pool_no);
 		applog(LOG_ERR, "Stratum connect succeeded, but technical problem extracting socket (pool %u)", pool->pool_no);
 		return false;
 		return false;