1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-11 07:17:58 +00:00

Set sockd to false should curl setup fail on stratum.

This commit is contained in:
Con Kolivas 2013-03-09 10:41:36 +11:00
parent 56068d6839
commit 7e3ca57049

4
util.c
View File

@ -1522,8 +1522,10 @@ bool initiate_stratum(struct pool *pool)
int n2size;
resend:
if (!setup_stratum_curl(pool))
if (!setup_stratum_curl(pool)) {
sockd = false;
goto out;
}
sockd = true;