From 9d16e6d6f8faf9ee3792c194615a0c6b883eae82 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Thu, 1 Jul 2010 23:41:43 +0000 Subject: Don't overwrite the device name with the fake cu%d host. --- usr.bin/tip/remote.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/usr.bin/tip/remote.c b/usr.bin/tip/remote.c index 06d7fc41d18..e75c550684c 100644 --- a/usr.bin/tip/remote.c +++ b/usr.bin/tip/remote.c @@ -1,4 +1,4 @@ -/* $OpenBSD: remote.c,v 1.27 2010/07/01 21:28:01 nicm Exp $ */ +/* $OpenBSD: remote.c,v 1.28 2010/07/01 23:41:42 nicm Exp $ */ /* $NetBSD: remote.c,v 1.5 1997/04/20 00:02:45 mellon Exp $ */ /* @@ -64,7 +64,6 @@ getremcap(char *host) if ((stat = cgetent(&bp, db_array, host)) < 0) { if (vgetstr(DEVICE) != NULL || (host[0] == '/' && access(host, R_OK | W_OK) == 0)) { - vsetstr(DEVICE, host); vsetstr(HOST, host); if (!vgetnum(BAUDRATE)) vsetnum(BAUDRATE, DEFBR); -- cgit v1.2.3