From 11310002d0418984e2cafc6a867f8b010bd05314 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 11 Oct 2018 13:28:25 +0300 Subject: Fix agent loosing controller URLs --- bbot/agent/agent.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bbot/agent/agent.cxx b/bbot/agent/agent.cxx index 82a5f69..a65045d 100644 --- a/bbot/agent/agent.cxx +++ b/bbot/agent/agent.cxx @@ -1044,7 +1044,7 @@ try } else { - for (string& u: controllers) + for (const string& u: controllers) { task_response_manifest r; @@ -1117,7 +1117,7 @@ try << "from " << u;}); tr = move (r); - url = move (u); + url = u; break; } } -- cgit v1.1