Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/telnet add missing #ifdef INET6, to compile without ...



details:   https://anonhg.NetBSD.org/src/rev/ec7e6b7453ab
branches:  trunk
changeset: 486571:ec7e6b7453ab
user:      itojun <itojun%NetBSD.org@localhost>
date:      Thu May 25 23:02:53 2000 +0000

description:
add missing #ifdef INET6, to compile without -DINET6.
From: Mason Loring Bliss <mason%acheron.middleboro.ma.us@localhost>

diffstat:

 usr.bin/telnet/commands.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r b95b96db4d22 -r ec7e6b7453ab usr.bin/telnet/commands.c
--- a/usr.bin/telnet/commands.c Thu May 25 22:50:11 2000 +0000
+++ b/usr.bin/telnet/commands.c Thu May 25 23:02:53 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: commands.c,v 1.41 2000/05/25 12:25:14 blymn Exp $      */
+/*     $NetBSD: commands.c,v 1.42 2000/05/25 23:02:53 itojun Exp $     */
 
 /*
  * Copyright (C) 1997 and 1998 WIDE Project.
@@ -67,7 +67,7 @@
 #if 0
 static char sccsid[] = "@(#)commands.c 8.4 (Berkeley) 5/30/95";
 #else
-__RCSID("$NetBSD: commands.c,v 1.41 2000/05/25 12:25:14 blymn Exp $");
+__RCSID("$NetBSD: commands.c,v 1.42 2000/05/25 23:02:53 itojun Exp $");
 #endif
 #endif /* not lint */
 
@@ -2823,7 +2823,9 @@
          /* init these just in case.... */
        lsrp = NULL;
        lsrep = NULL;
+#ifdef INET6
        cmsg = NULL;
+#endif
        
        switch (ai->ai_family) {
        case AF_INET:



Home | Main Index | Thread Index | Old Index