# HG changeset patch # User Matthew Wild # Date 1335661855 -3600 # Node ID e239668aa6d22404b81957c76d500d72b2a54443 # Parent 04a34287dc129153ac72ce5fdba558b74a0b34e7# Parent bf107d9d496204f24d8af74ca887fa94a872a077 Merge 0.9->trunk diff -r bf107d9d4962 -r e239668aa6d2 net/connlisteners.lua diff -r bf107d9d4962 -r e239668aa6d2 net/httpserver.lua diff -r bf107d9d4962 -r e239668aa6d2 plugins/mod_posix.lua --- a/plugins/mod_posix.lua Sat Apr 28 23:13:49 2012 +0100 +++ b/plugins/mod_posix.lua Sun Apr 29 02:10:55 2012 +0100 @@ -112,7 +112,7 @@ local syslog_opened; function syslog_sink_maker(config) if not syslog_opened then - pposix.syslog_open("prosody"); + pposix.syslog_open("prosody", module:get_option_string("syslog_facility")); syslog_opened = true; end local syslog, format = pposix.syslog_log, string.format; diff -r bf107d9d4962 -r e239668aa6d2 plugins/mod_pubsub.lua --- a/plugins/mod_pubsub.lua Sat Apr 28 23:13:49 2012 +0100 +++ b/plugins/mod_pubsub.lua Sun Apr 29 02:10:55 2012 +0100 @@ -57,6 +57,7 @@ for _, entry in pairs(results) do data:add_child(entry); end + local reply; if data then reply = st.reply(stanza) :tag("pubsub", { xmlns = xmlns_pubsub }) diff -r bf107d9d4962 -r e239668aa6d2 plugins/mod_version.lua --- a/plugins/mod_version.lua Sat Apr 28 23:13:49 2012 +0100 +++ b/plugins/mod_version.lua Sun Apr 29 02:10:55 2012 +0100 @@ -21,7 +21,7 @@ version = "Windows"; else local os_version_command = module:get_option("os_version_command"); - local ok pposix = pcall(require, "pposix"); + local ok, pposix = pcall(require, "util.pposix"); if not os_version_command and (ok and pposix and pposix.uname) then version = pposix.uname().sysname; end