diff options
author | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2000-08-13 19:41:14 +0000 |
---|---|---|
committer | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2000-08-13 19:41:14 +0000 |
commit | 95a4e9e8a3a4756ae66fad7b088c60a26227b11b (patch) | |
tree | ccd58e0b830425f65af8c15ba8e6fe593d73688a /usr.bin | |
parent | 08f2c2b1fd700ecfefd38050f0fbc35311960724 (diff) |
recover 1.29 -> 1.30
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/telnet/commands.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/telnet/commands.c b/usr.bin/telnet/commands.c index d73c27f8da8..cf2323aca11 100644 --- a/usr.bin/telnet/commands.c +++ b/usr.bin/telnet/commands.c @@ -1,4 +1,4 @@ -/* $OpenBSD: commands.c,v 1.31 2000/08/13 19:39:01 itojun Exp $ */ +/* $OpenBSD: commands.c,v 1.32 2000/08/13 19:41:13 itojun Exp $ */ /* $NetBSD: commands.c,v 1.14 1996/03/24 22:03:48 jtk Exp $ */ /* @@ -2425,7 +2425,7 @@ tn(argc, argv) freeaddrinfo(ares); continue; } - if (bind(net, res->ai_addr, res->ai_addrlen) < 0) { + if (bind(net, ares->ai_addr, ares->ai_addrlen) < 0) { perror(aliasp); (void) close(net); /* dump descriptor */ freeaddrinfo(ares); |