Browse Source

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

nfactor-troky
Kano 12 years ago
parent
commit
e043f5a5aa
  1. 2
      util.c

2
util.c

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

Loading…
Cancel
Save