Software /
code /
prosody
Diff
net/server_event.lua @ 2116:719f95428522
net.server_event: Small whitespace fixes
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sun, 22 Nov 2009 03:49:47 +0000 |
parent | 2115:2d377ff72f79 |
child | 2117:ce42307f0938 |
line wrap: on
line diff
--- a/net/server_event.lua Sun Nov 22 03:48:04 2009 +0000 +++ b/net/server_event.lua Sun Nov 22 03:49:47 2009 +0000 @@ -221,7 +221,7 @@ 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 @@ 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