From ea9351ad6e7abe8037e67138103e038dc61cc8e2 Mon Sep 17 00:00:00 2001 From: Jun-ichiro itojun Hagino Date: Wed, 17 Nov 2004 01:47:21 +0000 Subject: remove NI_WITHSCOPEID (which is not standard) --- usr.bin/telnet/commands.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'usr.bin/telnet') diff --git a/usr.bin/telnet/commands.c b/usr.bin/telnet/commands.c index 9d0869c88e9..5ee299d498f 100644 --- a/usr.bin/telnet/commands.c +++ b/usr.bin/telnet/commands.c @@ -1,4 +1,4 @@ -/* $OpenBSD: commands.c,v 1.46 2003/12/28 21:53:01 otto Exp $ */ +/* $OpenBSD: commands.c,v 1.47 2004/11/17 01:47:20 itojun Exp $ */ /* $NetBSD: commands.c,v 1.14 1996/03/24 22:03:48 jtk Exp $ */ /* @@ -2274,11 +2274,7 @@ tn(argc, argv) #endif char *cmd, *hostp = 0, *portp = 0, *user = 0, *aliasp = 0; int retry; -#ifdef NI_WITHSCOPEID - const int niflags = NI_NUMERICHOST | NI_WITHSCOPEID; -#else const int niflags = NI_NUMERICHOST; -#endif /* clear the socket address prior to use */ memset((char *)&sin, 0, sizeof(sin)); -- cgit v1.2.3