diff options
author | Matthew Wild <mwild1@gmail.com> | 2010-01-31 18:09:37 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2010-01-31 18:09:37 +0000 |
commit | bc402832aa9104f0f21a406218b79e0be0c47b73 (patch) | |
tree | 4725a0153cc055f115fd59aa57b3b8509906696d /net/adns.lua | |
parent | 382b21b91261dc5b0ac64f564d5a2cf1a623363d (diff) | |
download | prosody-bc402832aa9104f0f21a406218b79e0be0c47b73.tar.gz prosody-bc402832aa9104f0f21a406218b79e0be0c47b73.zip |
net.adns: Trailing whitespace
Diffstat (limited to 'net/adns.lua')
-rw-r--r-- | net/adns.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/adns.lua b/net/adns.lua index d6beffbb..e8ea3d28 100644 --- a/net/adns.lua +++ b/net/adns.lua @@ -66,8 +66,8 @@ function new_async_socket(sock, resolver) 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 |