diff options
author | Matthew Wild <mwild1@gmail.com> | 2010-01-20 02:44:38 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2010-01-20 02:44:38 +0000 |
commit | 73f760c8965fe46d90c9376bbb2e682c3873dc79 (patch) | |
tree | de6bcf563f173792f61d8ef6bddb1a6208111c1f /net/adns.lua | |
parent | 220a7eefbd70d08a4122ba8734ddd275e84568e3 (diff) | |
download | prosody-73f760c8965fe46d90c9376bbb2e682c3873dc79.tar.gz prosody-73f760c8965fe46d90c9376bbb2e682c3873dc79.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 b0c9a625..bc38040b 100644 --- a/net/adns.lua +++ b/net/adns.lua @@ -67,8 +67,8 @@ function new_async_socket(sock, resolver) 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 |