summaryrefslogtreecommitdiff
path: root/usr.bin/tip/remote.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2010-06-29 05:55:38 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2010-06-29 05:55:38 +0000
commitbdf53553f3a1a1ec4fe32b4eb661f54b326d4dc4 (patch)
tree5401ab51a7ab707e2c9f8ec50403e82576e9e4a0 /usr.bin/tip/remote.c
parenta8513a0222af62280ad0380a2efdcbe0c97fd2f9 (diff)
Replace "nice" strcmp() wrapper macro with strcmp.
ok jsing
Diffstat (limited to 'usr.bin/tip/remote.c')
-rw-r--r--usr.bin/tip/remote.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tip/remote.c b/usr.bin/tip/remote.c
index 2592221b525..e57c9c68787 100644
--- a/usr.bin/tip/remote.c
+++ b/usr.bin/tip/remote.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: remote.c,v 1.18 2009/10/27 23:59:44 deraadt Exp $ */
+/* $OpenBSD: remote.c,v 1.19 2010/06/29 05:55:37 nicm Exp $ */
/* $NetBSD: remote.c,v 1.5 1997/04/20 00:02:45 mellon Exp $ */
/*
@@ -139,7 +139,7 @@ getremcap(char *host)
* from the description file
*/
if (!HW)
- HW = (CU == NULL) || (DU && equal(DV, CU));
+ HW = (CU == NULL) || (DU && strcmp(DV, CU) == 0);
HO = host;
/*
* see if uppercase mode should be turned on initially