Browse Source

Fix propagation of global proxy passwords

master
Con Kolivas 8 years ago
parent
commit
88d36209f3
  1. 2
      src/generator.c

2
src/generator.c

@ -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("");

Loading…
Cancel
Save