diff options
author | Niels Provos <provos@cvs.openbsd.org> | 1997-09-07 12:24:00 +0000 |
---|---|---|
committer | Niels Provos <provos@cvs.openbsd.org> | 1997-09-07 12:24:00 +0000 |
commit | 925d364360069859bf8d2b8eca85530aac12b5fa (patch) | |
tree | 062cfe2b13734f4887af4c181db79a57f4aba98c /usr.bin/tip/remote.c | |
parent | e072e3b5e70300c6bb04adf954dc58ea855d4195 (diff) |
check for acu type
Diffstat (limited to 'usr.bin/tip/remote.c')
-rw-r--r-- | usr.bin/tip/remote.c | 8 |
1 files changed, 6 insertions, 2 deletions
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 <stdio.h> @@ -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"); |