Browse Source

Merge commit 'a1d6abc' into bfgminer

Luke Dashjr 13 years ago
parent
commit
aa17f0c746
1 changed files with 1 additions and 1 deletions
  1. 1 1
      miner.c

+ 1 - 1
miner.c

@@ -5853,7 +5853,7 @@ badwork:
 		free_work(work);
 		/* If we failed to parse a getwork, this could be a stratum
 		 * url without the prefix stratum+tcp:// so let's check it */
-		if (initiate_stratum(pool)) {
+		if (extract_sockaddr(pool, pool->rpc_url) && initiate_stratum(pool)) {
 			pool->has_stratum = true;
 			goto retry_stratum;
 		}