diff options
author | Matthew Wild <mwild1@gmail.com> | 2014-08-28 09:23:24 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2014-08-28 09:23:24 +0100 |
commit | 878efeecd5030048b33121b05c6cf402f860ca1d (patch) | |
tree | 29a8b368a2ebd36175100726d9d02b82b27edc8c /plugins/mod_c2s.lua | |
parent | 6007de18c4db1acae2bb17c9d2aaad3b1ef994f5 (diff) | |
parent | b27e7b3834519214f9b3c9e6e041421429bbcc74 (diff) | |
download | prosody-878efeecd5030048b33121b05c6cf402f860ca1d.tar.gz prosody-878efeecd5030048b33121b05c6cf402f860ca1d.zip |
Merge 0.9->0.10
Diffstat (limited to 'plugins/mod_c2s.lua')
-rw-r--r-- | plugins/mod_c2s.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_c2s.lua b/plugins/mod_c2s.lua index f0cdd7fb..bb3858c0 100644 --- a/plugins/mod_c2s.lua +++ b/plugins/mod_c2s.lua @@ -91,7 +91,7 @@ end function stream_callbacks.error(session, error, data) if error == "no-stream" then - session.log("debug", "Invalid opening stream header"); + session.log("debug", "Invalid opening stream header (%s)", (data:gsub("^([^\1]+)\1", "{%1}"))); session:close("invalid-namespace"); elseif error == "parse-error" then (session.log or log)("debug", "Client XML parse error: %s", tostring(data)); |