From e043f5a5aa8b7e7c54a7fc64efbdb770365a4517 Mon Sep 17 00:00:00 2001 From: Kano Date: Wed, 12 Sep 2012 08:32:00 +1000 Subject: [PATCH] bug: remove proxy: from the front of the proxy used --- util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util.c b/util.c index 27866531..59743fdd 100644 --- a/util.c +++ b/util.c @@ -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;