diff options
author | Kim Alvefur <zash@zash.se> | 2018-02-25 11:20:56 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-02-25 11:20:56 +0100 |
commit | fc00ed82892c3b0144ac7dcb099c38f1e8dccb3e (patch) | |
tree | 577f3ce310ea69743d3dc3bd57208c4c05de3fca | |
parent | 28ba10b6b49b37a6786fde91a9f2fd5b7cd3fa52 (diff) | |
download | prosody-fc00ed82892c3b0144ac7dcb099c38f1e8dccb3e.tar.gz prosody-fc00ed82892c3b0144ac7dcb099c38f1e8dccb3e.zip |
mod_s2s: Don't use string concatenation when passing values to logging
-rw-r--r-- | plugins/mod_s2s/mod_s2s.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_s2s/mod_s2s.lua b/plugins/mod_s2s/mod_s2s.lua index f331ee52..e85ec6bd 100644 --- a/plugins/mod_s2s/mod_s2s.lua +++ b/plugins/mod_s2s/mod_s2s.lua @@ -60,7 +60,7 @@ local bouncy_stanzas = { message = true, presence = true, iq = true }; local function bounce_sendq(session, reason) local sendq = session.sendq; if not sendq then return; end - session.log("info", "Sending error replies for "..#sendq.." queued stanzas because of failed outgoing connection to "..tostring(session.to_host)); + session.log("info", "Sending error replies for %d queued stanzas because of failed outgoing connection to %s", #sendq, session.to_host); local dummy = { type = "s2sin"; send = function () |