shithub: mc

Download patch

ref: f3109e1faf8de6f98c308aabba79e8db0c0876dd
parent: 0d3f5d4bd7b74a810db4424aafdaf398faa9c69a
author: Ori Bernstein <[email protected]>
date: Tue Oct 27 08:00:09 EDT 2020

resolve: fix copy-paste error

--- a/lib/std/resolve+posixy.myr
+++ b/lib/std/resolve+posixy.myr
@@ -260,7 +260,7 @@
 		fd=dnsconnect(nameservers[i])
 		if fd != -1
 			srv[i] = [
-				.fd=dnsconnect(nameservers[i]),
+				.fd=fd,
 				.events=sys.Pollout,
 				.revents=0,
 			]