mod_s2s/s2sout.lib: Improve error message logged at 'info' level when failing to connect to a host. Now 'Failed in all attempts to connect to XYZ'
--- a/plugins/mod_s2s/s2sout.lib.lua Tue Aug 13 23:38:50 2013 +0100
+++ b/plugins/mod_s2s/s2sout.lib.lua Wed Aug 14 00:18:39 2013 +0100
@@ -129,7 +129,7 @@
connect_host, connect_port = srv_choice.target or to_host, srv_choice.port or connect_port;
host_session.log("info", "Connection failed (%s). Attempt #%d: This time to %s:%d", tostring(err), host_session.srv_choice, connect_host, connect_port);
else
- host_session.log("info", "Out of connection options, can't connect to %s", tostring(host_session.to_host));
+ host_session.log("info", "Failed in all attempts to connect to %s", tostring(host_session.to_host));
-- We're out of options
return false;
end