aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/adns.lua2
-rw-r--r--net/dns.lua2
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