Comparison

util/adminstream.lua @ 12852:c35afa353f8f

mod_admin_socket: Fix typo in comments Introduced in 6966026262f4
author Kim Alvefur <zash@zash.se>
date Fri, 20 Jan 2023 18:16:10 +0100
parent 12393:6966026262f4
child 12975:d10957394a3c
comparison
equal deleted inserted replaced
12851:ffa75a9ce907 12852:c35afa353f8f
143 -- COMPAT #1717 143 -- COMPAT #1717
144 -- Before the introduction of datagram support, only the stream socket 144 -- Before the introduction of datagram support, only the stream socket
145 -- constructor was exported instead of a module table. Due to the lack of a 145 -- constructor was exported instead of a module table. Due to the lack of a
146 -- proper release of LuaSocket, distros have settled on shipping either the 146 -- proper release of LuaSocket, distros have settled on shipping either the
147 -- last RC tag or some commit since then. 147 -- last RC tag or some commit since then.
148 -- Here we accomodate both variants. 148 -- Here we accommodate both variants.
149 unix = { stream = unix }; 149 unix = { stream = unix };
150 end 150 end
151 if type(unix) ~= "table" then 151 if type(unix) ~= "table" then
152 have_unix = false; 152 have_unix = false;
153 end 153 end