Changeset

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
parents 2577:acb382c703e4
children 2579:4e0caff152d6
files net/adns.lua net/dns.lua
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/net/adns.lua	Wed Feb 10 01:53:38 2010 +0500
+++ b/net/adns.lua	Wed Feb 10 01:58:49 2010 +0500
@@ -74,6 +74,6 @@
 	return handler;
 end
 
-dns:socket_wrapper_set(new_async_socket);
+dns.socket_wrapper_set(new_async_socket);
 
 return _M;
--- a/net/dns.lua	Wed Feb 10 01:53:38 2010 +0500
+++ b/net/dns.lua	Wed Feb 10 01:58:49 2010 +0500
@@ -949,7 +949,7 @@
 	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