summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/net.cc
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/net.cc')
-rw-r--r--winsup/cygwin/net.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/net.cc b/winsup/cygwin/net.cc
index cfc716c68..53c8eff1b 100644
--- a/winsup/cygwin/net.cc
+++ b/winsup/cygwin/net.cc
@@ -1968,7 +1968,7 @@ cygwin_rresvport (int *port)
if (res_fd >= 0)
fh = fdsock (res_fd, "/dev/tcp", res);
if (fh)
- res = res_fd;
+ res = res_fd;
else
res = -1;
}
@@ -2213,7 +2213,7 @@ socketpair (int family, int type, int protocol, int *sb)
if (res == -1)
{
- closesocket (insock);
+ closesocket (insock);
closesocket (outsock);
}
}