From 250bf42cc085493ae21415d9d401126e73d757d7 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Mon, 21 Sep 2015 16:43:21 +1000 Subject: [PATCH] Show successful connection message in passthrough mode as well --- src/generator.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/generator.c b/src/generator.c index b5fd9e48..c9de7143 100644 --- a/src/generator.c +++ b/src/generator.c @@ -2575,10 +2575,8 @@ reconnect: goto out; if (proxi != cproxy) { proxi = cproxy; - if (!ckp->passthrough) { - LOGWARNING("Successfully connected to proxy %d %s as proxy", - proxi->id, proxi->url); - } + LOGWARNING("Successfully connected to proxy %d %s as proxy%s", + proxi->id, proxi->url, ckp->passthrough ? " in passthrough mode" : ""); } retry: clear_unix_msg(&umsg);