From 3dc21c4fc7da90b0ef739a85351c91ab87a38148 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Wed, 1 Jul 2009 17:53:18 +0100 Subject: Send xml:lang in stream headers, fixes #78 --- core/s2smanager.lua | 2 +- core/sessionmanager.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'core') diff --git a/core/s2smanager.lua b/core/s2smanager.lua index 879084d8..63605d5e 100644 --- a/core/s2smanager.lua +++ b/core/s2smanager.lua @@ -253,7 +253,7 @@ function try_connect(host_session, connect_host, connect_port) local w = conn.write; host_session.sends2s = function (t) log("debug", "sending: %s", tostring(t)); w(tostring(t)); end - conn.write(format([[]], from_host, to_host)); + conn.write(format([[]], from_host, to_host)); log("debug", "Connection attempt in progress..."); return true; end diff --git a/core/sessionmanager.lua b/core/sessionmanager.lua index 2862cd52..24da7c83 100644 --- a/core/sessionmanager.lua +++ b/core/sessionmanager.lua @@ -165,7 +165,7 @@ function streamopened(session, attr) (session.log or session)("debug", "Client sent opening to %s", session.host); send(""); - send(format("", session.streamid, session.host)); + send(format("", session.streamid, session.host)); if not hosts[session.host] then -- We don't serve this host... -- cgit v1.2.3