diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2010-07-01 23:41:43 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2010-07-01 23:41:43 +0000 |
commit | 9d16e6d6f8faf9ee3792c194615a0c6b883eae82 (patch) | |
tree | 4934f9eb8499cd7dff8235dacbc600772f8c26a5 | |
parent | bddda87ed097ec7a82f35263f370cd0580fd2949 (diff) |
Don't overwrite the device name with the fake cu%d host.
-rw-r--r-- | usr.bin/tip/remote.c | 3 |
1 files changed, 1 insertions, 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); |