summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2020-10-27 12:00:09 -0700
committerOri Bernstein <ori@eigenstate.org>2020-10-27 12:00:09 -0700
commitf3109e1faf8de6f98c308aabba79e8db0c0876dd (patch)
tree57467f4103ce48dcac2d7a952e8b7e05288e851c /lib
parent0d3f5d4bd7b74a810db4424aafdaf398faa9c69a (diff)
downloadmc-master.tar.gz
resolve: fix copy-paste errorHEADmaster
Diffstat (limited to 'lib')
-rw-r--r--lib/std/resolve+posixy.myr2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/resolve+posixy.myr b/lib/std/resolve+posixy.myr
index b1238a6..17a5105 100644
--- a/lib/std/resolve+posixy.myr
+++ b/lib/std/resolve+posixy.myr
@@ -260,7 +260,7 @@ const dnsresolve = {host, rt
fd=dnsconnect(nameservers[i])
if fd != -1
srv[i] = [
- .fd=dnsconnect(nameservers[i]),
+ .fd=fd,
.events=sys.Pollout,
.revents=0,
]