Browse Source

If no stratum url is set by the end of the detect stratum routine, copy the sockaddr url.

nfactor-troky
Con Kolivas 12 years ago
parent
commit
210bc9be3e
  1. 2
      cgminer.c

2
cgminer.c

@ -571,6 +571,8 @@ bool detect_stratum(struct pool *pool, char *url) @@ -571,6 +571,8 @@ bool detect_stratum(struct pool *pool, char *url)
if (!strncasecmp(url, "stratum+tcp://", 14) || stratum) {
pool->has_stratum = true;
if (!pool->stratum_url)
pool->stratum_url = pool->sockaddr_url;
return true;
}

Loading…
Cancel
Save