Browse Source

Merge branch 'bfgminer-2.10.x' into bfgminer

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

+ 1 - 0
util.c

@@ -1709,6 +1709,7 @@ void suspend_stratum(struct pool *pool)
 	pool->stratum_auth = false;
 	mutex_unlock(&pool->stratum_lock);
 	CLOSESOCKET(pool->sock);
+	pool->sock = INVSOCK;
 }
 
 void dev_error(struct cgpu_info *dev, enum dev_reason reason)