summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--methods/connect.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/methods/connect.cc b/methods/connect.cc
index 519031ace..f3af5fd4a 100644
--- a/methods/connect.cc
+++ b/methods/connect.cc
@@ -308,6 +308,7 @@ static ResultState WaitAndCheckErrors(std::list<Connection> &Conns, std::unique_
for (auto &Conn : Conns)
{
Conn.Owner->SetFailReason("Timeout");
+ bad_addr.insert(bad_addr.begin(), Conn.Name);
_error->Error(_("Could not connect to %s:%s (%s), "
"connection timed out"),
Conn.Host.c_str(), Conn.Service, Conn.Name);