Software /
code /
prosody
Diff
net/adns.lua @ 2710:1600aff0839f
net.adns: Trailing whitespace
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Wed, 20 Jan 2010 02:44:38 +0000 |
parent | 1901:3c52b949e472 |
child | 2714:9c5d8e0c146e |
child | 2923:b7049746bd29 |
line wrap: on
line diff
--- a/net/adns.lua Wed Dec 09 13:19:50 2009 +0000 +++ b/net/adns.lua Wed Jan 20 02:44:38 2010 +0000 @@ -67,8 +67,8 @@ newconn.handler.settimeout = function () end newconn.handler.setsockname = function (_, ...) return sock:setsockname(...); end newconn.handler.setpeername = function (_, ...) peername = (...); local ret = sock:setpeername(...); _.setsend(sock.send); return ret; end - newconn.handler.connect = function (_, ...) return sock:connect(...) end - newconn.handler.send = function (_, data) _.write(data); return _.sendbuffer(); end + newconn.handler.connect = function (_, ...) return sock:connect(...) end + newconn.handler.send = function (_, data) _.write(data); return _.sendbuffer(); end return newconn.handler; end