diff options
author | Waqas Hussain <waqas20@gmail.com> | 2010-02-10 01:58:49 +0500 |
---|---|---|
committer | Waqas Hussain <waqas20@gmail.com> | 2010-02-10 01:58:49 +0500 |
commit | 9939a23f3281c329231f046f4faadf4c8b25df96 (patch) | |
tree | f049ac776023e29c500024e5f2f2ab69cb826747 | |
parent | 4bf01bb76ba75e2a3e6957bddcca8ed3dbbd0d79 (diff) | |
download | prosody-9939a23f3281c329231f046f4faadf4c8b25df96.tar.gz prosody-9939a23f3281c329231f046f4faadf4c8b25df96.zip |
net.dns, net.adns: Changed dns:socket_wrapper_set to dns.socket_wrapper_set for consistency.
-rw-r--r-- | net/adns.lua | 2 | ||||
-rw-r--r-- | net/dns.lua | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/net/adns.lua b/net/adns.lua index 005bc606..4341ffb5 100644 --- a/net/adns.lua +++ b/net/adns.lua @@ -74,6 +74,6 @@ function new_async_socket(sock, resolver) return handler; end -dns:socket_wrapper_set(new_async_socket); +dns.socket_wrapper_set(new_async_socket); return _M; diff --git a/net/dns.lua b/net/dns.lua index f0debcc3..10ac50a4 100644 --- a/net/dns.lua +++ b/net/dns.lua @@ -949,7 +949,7 @@ function dns.cancel(...) -- - - - - - - - - - - - - - - - - - - - - - cancel return _resolver:cancel(...); end -function dns:socket_wrapper_set(...) -- - - - - - - - - socket_wrapper_set +function dns.socket_wrapper_set(...) -- - - - - - - - - socket_wrapper_set return _resolver:socket_wrapper_set(...); end |