Software /
code /
prosody
Changeset
2710:1600aff0839f
net.adns: Trailing whitespace
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Wed, 20 Jan 2010 02:44:38 +0000 |
parents | 2709:db3497124ca2 |
children | 2711:5d97fb043141 |
files | net/adns.lua |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
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