From c29137a1b11bdda5ec1406a2fc5de613500a02ca Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Tue, 19 Jan 2010 04:35:10 +0000 Subject: s2smanager: No-one noticed that Prosody stopped sending to/from on stream headers recently? :) --- core/s2smanager.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core') diff --git a/core/s2smanager.lua b/core/s2smanager.lua index af5e91e3..a24f2b2d 100644 --- a/core/s2smanager.lua +++ b/core/s2smanager.lua @@ -327,7 +327,7 @@ function make_connect(host_session, connect_host, connect_port) local w, log = conn.write, host_session.log; host_session.sends2s = function (t) log("debug", "sending: %s", (t.top_tag and t:top_tag()) or t:match("^[^>]*>?")); w(conn, tostring(t)); end - host_session:open_stream(); + host_session:open_stream(from_host, to_host); log("debug", "Connection attempt in progress..."); add_task(connect_timeout, function () -- cgit v1.2.3