Software /
code /
prosody
Changeset
2556:50d1ba86a959
net.adns: Trailing whitespace
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sun, 31 Jan 2010 18:09:37 +0000 |
parents | 2555:9b9e4d8704f9 |
children | 2557:e5254ccd5ef8 |
files | net/adns.lua |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
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