diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2010-06-29 23:10:57 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2010-06-29 23:10:57 +0000 |
commit | d89d127e66ee4af18d3882acb5640e109ef4ce1b (patch) | |
tree | c7ec65645f76fe0959ed8a3263bc9e1cd9d1f644 /usr.bin/tip/cmds.c | |
parent | 75d6d488835bb219478325951388890c3b2d3a34 (diff) |
For every variable which has a value table entry with IREMOTE, remove the
remote variable and always use the value from the vtable. This then allows the
IREMOTE flag to be removed.
Diffstat (limited to 'usr.bin/tip/cmds.c')
-rw-r--r-- | usr.bin/tip/cmds.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tip/cmds.c b/usr.bin/tip/cmds.c index c0c7cb4e437..f28eed4019d 100644 --- a/usr.bin/tip/cmds.c +++ b/usr.bin/tip/cmds.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmds.c,v 1.35 2010/06/29 21:34:50 nicm Exp $ */ +/* $OpenBSD: cmds.c,v 1.36 2010/06/29 23:10:56 nicm Exp $ */ /* $NetBSD: cmds.c,v 1.7 1997/02/11 09:24:03 mrg Exp $ */ /* @@ -769,7 +769,7 @@ variable(int c) } if (vtable[LECHO].v_flags & V_CHANGED) { vtable[LECHO].v_flags &= ~V_CHANGED; - HD = boolean(value(LECHO)); + setboolean(value(HALFDUPLEX), boolean(value(LECHO))); } if (vtable[PARITY].v_flags & V_CHANGED) { vtable[PARITY].v_flags &= ~V_CHANGED; |