Software /
code /
prosody
Comparison
net/server_event.lua @ 9897:a471d4cfec5e
net/server_event: fix typo in comment
author | Maxime “pep” Buquet <pep@bouah.net> |
---|---|
date | Sat, 23 Mar 2019 01:57:12 +0000 |
parent | 9853:9aea8dbb105d |
child | 9915:9fe7b18bca15 |
comparison
equal
deleted
inserted
replaced
9896:dafe1b544822 | 9897:a471d4cfec5e |
---|---|
656 setmetatable(interface, interface_mt) | 656 setmetatable(interface, interface_mt) |
657 interfacelist[ interface ] = true -- add to interfacelist | 657 interfacelist[ interface ] = true -- add to interfacelist |
658 return interface | 658 return interface |
659 end | 659 end |
660 | 660 |
661 local function handleserver( server, addr, port, pattern, listener, sslctx, startssl ) -- creates an server interface | 661 local function handleserver( server, addr, port, pattern, listener, sslctx, startssl ) -- creates a server interface |
662 debug "creating server interface..." | 662 debug "creating server interface..." |
663 local interface = { | 663 local interface = { |
664 _connections = 0; | 664 _connections = 0; |
665 | 665 |
666 type = "server"; | 666 type = "server"; |