diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-01-30 02:01:55 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1997-01-30 02:01:55 +0000 |
commit | 58a1633506a59f8c1e5de329a2d4f2656cf4c984 (patch) | |
tree | 1ed267fe8d4684c7bf7dfeda3c8d4a39809e687e /usr.sbin/ypbind | |
parent | c621e66f206dff3d24c2fffdb44b63daa58bcdfd (diff) |
i wish i tested before every commit
Diffstat (limited to 'usr.sbin/ypbind')
-rw-r--r-- | usr.sbin/ypbind/ypbind.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ypbind/ypbind.c b/usr.sbin/ypbind/ypbind.c index 428d7ff43fe..94666fda9e0 100644 --- a/usr.sbin/ypbind/ypbind.c +++ b/usr.sbin/ypbind/ypbind.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ypbind.c,v 1.15 1997/01/30 02:00:26 deraadt Exp $ */ +/* $OpenBSD: ypbind.c,v 1.16 1997/01/30 02:01:54 deraadt Exp $ */ /* * Copyright (c) 1996 Theo de Raadt <deraadt@theos.com> @@ -34,7 +34,7 @@ */ #ifndef LINT -static char rcsid[] = "$OpenBSD: ypbind.c,v 1.15 1997/01/30 02:00:26 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: ypbind.c,v 1.16 1997/01/30 02:01:54 deraadt Exp $"; #endif #include <sys/param.h> @@ -889,7 +889,7 @@ int force; char path[MAXPATHLEN]; int fd; - if (strchr(dom, "/") || strchr(dom, ".") + if (strchr(dom, '/') || strchr(dom, '.')) return; #ifdef DEBUG |