Browse Source

Set sockd to false should curl setup fail on stratum.

nfactor-troky
Con Kolivas 12 years ago
parent
commit
7e3ca57049
  1. 4
      util.c

4
util.c

@ -1522,8 +1522,10 @@ bool initiate_stratum(struct pool *pool) @@ -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;

Loading…
Cancel
Save