Run parser through detect_stratum after stratum+tcp:// is force added
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);
}
}