projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
776bb15
)
mod_s2s: Include name of remote server when it's missing the stream ID (thanks Ge0rG)
author
Kim Alvefur
<zash@zash.se>
Mon, 14 Mar 2016 12:27:02 +0000
(13:27 +0100)
committer
Kim Alvefur
<zash@zash.se>
Mon, 14 Mar 2016 12:27:02 +0000
(13:27 +0100)
plugins/mod_s2s/mod_s2s.lua
patch
|
blob
|
history
diff --git
a/plugins/mod_s2s/mod_s2s.lua
b/plugins/mod_s2s/mod_s2s.lua
index 3e80c77b1a53bcb1ed3f2136b2dc839ccb58f8d1..16320ad169afd651a081daaa4d05f23556aead9a 100644
(file)
--- a/
plugins/mod_s2s/mod_s2s.lua
+++ b/
plugins/mod_s2s/mod_s2s.lua
@@
-363,7
+363,7
@@
function stream_callbacks.streamopened(session, attr)
elseif session.direction == "outgoing" then
session.notopen = nil;
if not attr.id then
- log("error", "Stream response
did not give us a stream id!"
);
+ log("error", "Stream response
from %s did not give us a stream id!", session.to_host
);
session:close({ condition = "undefined-condition", text = "Missing stream ID" });
return;
end