Changeset

10401:1ef1f6c43c5b

Merge 0.11->trunk
author Kim Alvefur <zash@zash.se>
date Fri, 08 Nov 2019 00:58:03 +0100
parents 10399:270cb2821566 (current diff) 10400:4c2d789a106b (diff)
children 10402:0971694b30a8
files net/resolvers/basic.lua net/resolvers/service.lua
diffstat 2 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/net/resolvers/basic.lua	Thu Nov 07 19:23:42 2019 +0100
+++ b/net/resolvers/basic.lua	Fri Nov 08 00:58:03 2019 +0100
@@ -22,6 +22,7 @@
 	if not self.hostname then
 		-- FIXME report IDNA error
 		cb(nil);
+		return;
 	end
 
 	local targets = {};
--- a/net/resolvers/service.lua	Thu Nov 07 19:23:42 2019 +0100
+++ b/net/resolvers/service.lua	Fri Nov 08 00:58:03 2019 +0100
@@ -29,6 +29,7 @@
 	if not self.hostname then
 		-- FIXME report IDNA error
 		cb(nil);
+		return;
 	end
 
 	local targets = {};