Commit f0f667867eb103e5cd60acaddb371b42a95b3825

Con Kolivas 2014-03-16T22:24:41

Run parser through detect_stratum after stratum+tcp:// is force added

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/cgminer.c b/cgminer.c
index d6e0ea7..174c40a 100644
--- a/cgminer.c
+++ b/cgminer.c
@@ -844,7 +844,7 @@ static void setup_url(struct pool *pool, char *arg)
 			quit(1, "Failed to malloc httpinput");
 		strcpy(httpinput, "stratum+tcp://");
 		strncat(httpinput, arg, 242);
-		pool->rpc_url = httpinput;
+		detect_stratum(pool, httpinput);
 	}
 }