From 88d36209f31efcfbc61a9d2c313529bf8e58467f Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Fri, 23 Sep 2016 17:09:57 +1000 Subject: [PATCH] Fix propagation of global proxy passwords --- src/generator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/generator.c b/src/generator.c index 9ed5132a..5eb71418 100644 --- a/src/generator.c +++ b/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->url = strdup(ckp->proxyurl[id]); proxy->auth = strdup(ckp->proxyauth[id]); - if (proxy->pass) + if (ckp->proxypass[id]) proxy->pass = strdup(ckp->proxypass[id]); else proxy->pass = strdup("");