1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-03-09 20:21:01 +00:00

bug: remove proxy: from the front of the proxy used

This commit is contained in:
Kano 2012-09-12 08:32:00 +10:00
parent cef9731fbc
commit e043f5a5aa

2
util.c
View File

@ -514,7 +514,7 @@ char *get_proxy(char *url, struct pool *pool)
if (!(pool->rpc_proxy))
quit(1, "Failed to malloc rpc_proxy");
strcpy(pool->rpc_proxy, url);
strcpy(pool->rpc_proxy, url + plen);
pool->rpc_proxytype = proxynames[i].proxytype;
url = split + 1;
break;