summaryrefslogtreecommitdiff
path: root/libexec/login_radius
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2007-03-21 03:32:29 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2007-03-21 03:32:29 +0000
commitc929cb3352d36a7ffe6c2f49aeead12689d731f8 (patch)
treed5e88b483956c9e15a135f76348d5a6344b18d74 /libexec/login_radius
parent645b5b2cb8a4c44e31ae3ab064ce9f2cc5840a02 (diff)
remove extra *p tests, from charles longeau
ok deraadt millert
Diffstat (limited to 'libexec/login_radius')
-rw-r--r--libexec/login_radius/login_radius.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/login_radius/login_radius.c b/libexec/login_radius/login_radius.c
index e1f7a826dfb..9fffef843a1 100644
--- a/libexec/login_radius/login_radius.c
+++ b/libexec/login_radius/login_radius.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: login_radius.c,v 1.5 2003/07/29 18:39:23 deraadt Exp $ */
+/* $OpenBSD: login_radius.c,v 1.6 2007/03/21 03:32:28 tedu Exp $ */
/*-
* Copyright (c) 1996, 1997 Berkeley Software Design, Inc. All rights reserved.
@@ -204,7 +204,7 @@ static int
cleanstring(char *s)
{
- while (*s && isgraph(*s) && *s != '\\')
+ while (isgraph(*s) && *s != '\\')
++s;
return(*s == '\0' ? 1 : 0);
}