Software /
code /
prosody
Diff
net/adns.lua @ 2556:50d1ba86a959
net.adns: Trailing whitespace
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sun, 31 Jan 2010 18:09:37 +0000 |
parent | 2232:aa8db84ae69d |
child | 2558:0a65fc0c7bee |
line wrap: on
line diff
--- a/net/adns.lua Sun Jan 31 17:23:39 2010 +0000 +++ b/net/adns.lua Sun Jan 31 18:09:37 2010 +0000 @@ -66,8 +66,8 @@ handler.settimeout = function () end handler.setsockname = function (_, ...) return sock:setsockname(...); end handler.setpeername = function (_, ...) peername = (...); local ret = sock:setpeername(...); _:set_send(sock.send); return ret; end - handler.connect = function (_, ...) return sock:connect(...) end - handler.send = function (_, data) _:write(data); return _.sendbuffer and _.sendbuffer(); end + handler.connect = function (_, ...) return sock:connect(...) end + handler.send = function (_, data) _:write(data); return _.sendbuffer and _.sendbuffer(); end return handler; end