|
|
@ -2888,7 +2888,7 @@ static proxy_instance_t *__add_proxy(ckpool_t *ckp, gdata_t *gdata, const int id |
|
|
|
proxy->id = id; |
|
|
|
proxy->id = id; |
|
|
|
proxy->url = strdup(ckp->proxyurl[id]); |
|
|
|
proxy->url = strdup(ckp->proxyurl[id]); |
|
|
|
proxy->auth = strdup(ckp->proxyauth[id]); |
|
|
|
proxy->auth = strdup(ckp->proxyauth[id]); |
|
|
|
if (proxy->pass) |
|
|
|
if (ckp->proxypass[id]) |
|
|
|
proxy->pass = strdup(ckp->proxypass[id]); |
|
|
|
proxy->pass = strdup(ckp->proxypass[id]); |
|
|
|
else |
|
|
|
else |
|
|
|
proxy->pass = strdup(""); |
|
|
|
proxy->pass = strdup(""); |
|
|
|