mirror of
https://github.com/bjc/prosody.git
synced 2025-04-05 14:17:37 +03:00
Monster whitespace commit (beware the whitespace monster).
This commit is contained in:
parent
85b44a1dfd
commit
b7e51a203d
42 changed files with 145 additions and 147 deletions
|
@ -16,10 +16,8 @@ local socket = require "socket";
|
||||||
local format = string.format;
|
local format = string.format;
|
||||||
local t_insert, t_sort = table.insert, table.sort;
|
local t_insert, t_sort = table.insert, table.sort;
|
||||||
local get_traceback = debug.traceback;
|
local get_traceback = debug.traceback;
|
||||||
local tostring, pairs, ipairs, getmetatable, newproxy, error, tonumber,
|
local tostring, pairs, ipairs, getmetatable, newproxy, error, tonumber, setmetatable
|
||||||
setmetatable
|
= tostring, pairs, ipairs, getmetatable, newproxy, error, tonumber, setmetatable;
|
||||||
= tostring, pairs, ipairs, getmetatable, newproxy, error, tonumber,
|
|
||||||
setmetatable;
|
|
||||||
|
|
||||||
local idna_to_ascii = require "util.encodings".idna.to_ascii;
|
local idna_to_ascii = require "util.encodings".idna.to_ascii;
|
||||||
local connlisteners_get = require "net.connlisteners".get;
|
local connlisteners_get = require "net.connlisteners".get;
|
||||||
|
|
|
@ -111,7 +111,7 @@ local function write_pidfile()
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
local syslog_opened
|
local syslog_opened;
|
||||||
function syslog_sink_maker(config)
|
function syslog_sink_maker(config)
|
||||||
if not syslog_opened then
|
if not syslog_opened then
|
||||||
pposix.syslog_open("prosody");
|
pposix.syslog_open("prosody");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue