commit | 1457915afcb8fb0697f441dce1697b278d25f4a5 | [log] [tgz] |
---|---|---|
author | Denis Vlasenko <vda.linux@googlemail.com> | Thu Oct 26 01:09:46 2006 +0000 |
committer | Denis Vlasenko <vda.linux@googlemail.com> | Thu Oct 26 01:09:46 2006 +0000 |
tree | 4f61a7fd5a6a3ebbca053c55dc68b8a3edb7700b | |
parent | 940b2e4b734e92cd6dd10c33910439478812d106 [diff] [blame] |
xconnect is non-conforming to "xfunc like libc" rule. Fixing
diff --git a/networking/telnet.c b/networking/telnet.c index cd4c33a..5b8c885 100644 --- a/networking/telnet.c +++ b/networking/telnet.c
@@ -639,7 +639,7 @@ s_in.sin_port = bb_lookup_port((argc == 3) ? argv[2] : "telnet", "tcp", 23); #endif - G.netfd = xconnect(&s_in); + G.netfd = xconnect_tcp_v4(&s_in); setsockopt(G.netfd, SOL_SOCKET, SO_KEEPALIVE, &one, sizeof one);