summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>1998-02-16 04:59:05 +0000
committerJason Wright <jason@cvs.openbsd.org>1998-02-16 04:59:05 +0000
commit386ca7a3ac55574dab6dc0c57415098730365e6e (patch)
treec692f13c5754c4c4ebe9a1146c39e22e5f8421f0
parent5fe7ab2f93c196191a72f83c2064e54e6249bad3 (diff)
fixes to compile against netbsd domestic libtelnet
-rw-r--r--usr.bin/telnet/utilities.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/telnet/utilities.c b/usr.bin/telnet/utilities.c
index d1671d64cf2..4f3f15105b7 100644
--- a/usr.bin/telnet/utilities.c
+++ b/usr.bin/telnet/utilities.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: utilities.c,v 1.3 1996/12/12 11:24:08 robin Exp $ */
+/* $OpenBSD: utilities.c,v 1.4 1998/02/16 04:59:04 jason Exp $ */
/* $NetBSD: utilities.c,v 1.5 1996/02/28 21:04:21 thorpej Exp $ */
/*
@@ -39,7 +39,7 @@
static char sccsid[] = "@(#)utilities.c 8.3 (Berkeley) 5/30/95";
static char rcsid[] = "$NetBSD: utilities.c,v 1.5 1996/02/28 21:04:21 thorpej Exp $";
#else
-static char rcsid[] = "$OpenBSD: utilities.c,v 1.3 1996/12/12 11:24:08 robin Exp $";
+static char rcsid[] = "$OpenBSD: utilities.c,v 1.4 1998/02/16 04:59:04 jason Exp $";
#endif
#endif /* not lint */
@@ -304,6 +304,7 @@ printsub(direction, pointer, length)
int length; /* length of suboption data */
{
register int i;
+ char buf[512];
extern int want_status_response;
if (showoptions || direction == 0 ||