Merge 0.10->trunk
[prosody.git] / plugins / mod_s2s / mod_s2s.lua
index c1357bf786904f361483391087f4a97dde6abcb3..431e712c94b5bd3279cba8cc0f547b019e13c9f7 100644 (file)
@@ -366,7 +366,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