aboutsummaryrefslogtreecommitdiffstats
path: root/net/server_event.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-11-22 03:49:47 +0000
committerMatthew Wild <mwild1@gmail.com>2009-11-22 03:49:47 +0000
commit9cb25f6151d046c5eba18c2c6af207a13906e3da (patch)
treeaf4e9525353e1d95c911a1add55f3ac79722700a /net/server_event.lua
parent14cd16dda7f1b5fb53f5a88edf4bb815a47b0fde (diff)
downloadprosody-9cb25f6151d046c5eba18c2c6af207a13906e3da.tar.gz
prosody-9cb25f6151d046c5eba18c2c6af207a13906e3da.zip
net.server_event: Small whitespace fixes
Diffstat (limited to 'net/server_event.lua')
-rw-r--r--net/server_event.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/server_event.lua b/net/server_event.lua
index 88292e35..c35c6f53 100644
--- a/net/server_event.lua
+++ b/net/server_event.lua
@@ -221,7 +221,7 @@ do
self.eventhandshake = nil
return -1
end
- debug( "error during ssl handshake:", err )
+ debug( "error during ssl handshake:", err )
if err == "wantwrite" then
event = EV_WRITE
elseif err == "wantread" then
@@ -275,6 +275,7 @@ do
interfacelist( "delete", self )
return true
end
+
function interface_mt:_lock(nointerface, noreading, nowriting) -- lock or unlock this interface or events
self.nointerface, self.noreading, self.nowriting = nointerface, noreading, nowriting
return nointerface, noreading, nowriting