Software /
code /
prosody
Comparison
net/adns.lua @ 2578:61e5eff54415
net.dns, net.adns: Changed dns:socket_wrapper_set to dns.socket_wrapper_set for consistency.
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Wed, 10 Feb 2010 01:58:49 +0500 |
parent | 2558:0a65fc0c7bee |
child | 2652:cbc58fc170ad |
comparison
equal
deleted
inserted
replaced
2577:acb382c703e4 | 2578:61e5eff54415 |
---|---|
72 --handler.send = function (_, data) _:write(data); return _.sendbuffer and _.sendbuffer(); end | 72 --handler.send = function (_, data) _:write(data); return _.sendbuffer and _.sendbuffer(); end |
73 handler.send = function (_, data) return sock:send(data); end | 73 handler.send = function (_, data) return sock:send(data); end |
74 return handler; | 74 return handler; |
75 end | 75 end |
76 | 76 |
77 dns:socket_wrapper_set(new_async_socket); | 77 dns.socket_wrapper_set(new_async_socket); |
78 | 78 |
79 return _M; | 79 return _M; |