From 925d364360069859bf8d2b8eca85530aac12b5fa Mon Sep 17 00:00:00 2001 From: Niels Provos Date: Sun, 7 Sep 1997 12:24:00 +0000 Subject: check for acu type --- usr.bin/tip/remote.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'usr.bin/tip/remote.c') diff --git a/usr.bin/tip/remote.c b/usr.bin/tip/remote.c index a791839a772..5bccdeee7a6 100644 --- a/usr.bin/tip/remote.c +++ b/usr.bin/tip/remote.c @@ -1,4 +1,4 @@ -/* $OpenBSD: remote.c,v 1.6 1997/09/01 23:24:25 deraadt Exp $ */ +/* $OpenBSD: remote.c,v 1.7 1997/09/07 12:23:59 provos Exp $ */ /* $NetBSD: remote.c,v 1.5 1997/04/20 00:02:45 mellon Exp $ */ /* @@ -45,7 +45,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)remote.c 8.1 (Berkeley) 6/6/93"; #endif -static char rcsid[] = "$OpenBSD: remote.c,v 1.6 1997/09/01 23:24:25 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: remote.c,v 1.7 1997/09/07 12:23:59 provos Exp $"; #endif /* not lint */ #include @@ -140,6 +140,10 @@ getremcap(host) fprintf(stderr, "%s: missing phone number\n", host); exit(3); } + if (DU && AT == NOSTR) { + fprintf(stderr, "%s: missing acu type\n", host); + exit(3); + } HD = cgetflag("hd"); -- cgit v1.2.3