diff options
-rw-r--r-- | bbot/agent/agent.cxx | 4 |
1 files 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; } } |