diff options
author | Alexander Hall <halex@cvs.openbsd.org> | 2015-03-19 22:05:29 +0000 |
---|---|---|
committer | Alexander Hall <halex@cvs.openbsd.org> | 2015-03-19 22:05:29 +0000 |
commit | cda5c6f389fc2c7275c56d27d725f0be46148480 (patch) | |
tree | a44e1cabc9a0d540f1281c35d0088a7acd9611ec /lib | |
parent | 554718915fddf619b90d187a8407d6ba1e19a7cc (diff) |
zap #if 0'd code that's been dead since '96
ok todd@
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/net/rcmd.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/libc/net/rcmd.c b/lib/libc/net/rcmd.c index afa59dde973..4004882debe 100644 --- a/lib/libc/net/rcmd.c +++ b/lib/libc/net/rcmd.c @@ -177,13 +177,6 @@ rcmd_af(char **ahost, int porta, const char *locuser, const char *remuser, /* given "af" can be PF_UNSPEC, we need the real af for "s" */ af = r->ai_family; freeaddrinfo(res); -#if 0 - /* - * try to rresvport() to the same port. This will make rresvport() - * fail it's first bind, resulting in it choosing a random port. - */ - lport--; -#endif if (fd2p == 0) { write(s, "", 1); lport = 0; |