Comparison

net/xmppserver_listener.lua @ 1878:a8d57d5faec5

xmppserver_listener: Small whitespace fix
author Matthew Wild <mwild1@gmail.com>
date Sun, 04 Oct 2009 14:17:54 +0100
parent 1877:23c39f66406f
child 1879:42157c066813
comparison
equal deleted inserted replaced
1877:23c39f66406f 1878:a8d57d5faec5
66 session:close("xml-not-well-formed"); 66 session:close("xml-not-well-formed");
67 end 67 end
68 68
69 return true; 69 return true;
70 end 70 end
71
72 71
73 local stream_xmlns_attr = {xmlns='urn:ietf:params:xml:ns:xmpp-streams'}; 72 local stream_xmlns_attr = {xmlns='urn:ietf:params:xml:ns:xmpp-streams'};
74 local default_stream_attr = { ["xmlns:stream"] = stream_callbacks.stream_tag:gsub("%|[^|]+$", ""), xmlns = stream_callbacks.default_ns, version = "1.0", id = "" }; 73 local default_stream_attr = { ["xmlns:stream"] = stream_callbacks.stream_tag:gsub("%|[^|]+$", ""), xmlns = stream_callbacks.default_ns, version = "1.0", id = "" };
75 local function session_close(session, reason) 74 local function session_close(session, reason)
76 local log = session.log or log; 75 local log = session.log or log;