aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/resolvers/basic.lua1
-rw-r--r--net/resolvers/service.lua1
2 files changed, 2 insertions, 0 deletions
diff --git a/net/resolvers/basic.lua b/net/resolvers/basic.lua
index cafef58b..f37e74a2 100644
--- a/net/resolvers/basic.lua
+++ b/net/resolvers/basic.lua
@@ -21,6 +21,7 @@ function methods:next(cb)
if not self.hostname then
-- FIXME report IDNA error
cb(nil);
+ return;
end
local targets = {};
diff --git a/net/resolvers/service.lua b/net/resolvers/service.lua
index bb255c33..34f14cba 100644
--- a/net/resolvers/service.lua
+++ b/net/resolvers/service.lua
@@ -28,6 +28,7 @@ function methods:next(cb)
if not self.hostname then
-- FIXME report IDNA error
cb(nil);
+ return;
end
local targets = {};