From a5b6ad714541a9c9f0a38e3e97038715a8ff6ec0 Mon Sep 17 00:00:00 2001 From: kstailey Date: Tue, 17 Jun 1997 21:00:02 +0000 Subject: (foo *)NULL -> NULL --- usr.bin/finger/util.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/usr.bin/finger/util.c b/usr.bin/finger/util.c index 24c6b95facf..7c991691417 100644 --- a/usr.bin/finger/util.c +++ b/usr.bin/finger/util.c @@ -1,4 +1,4 @@ -/* $OpenBSD: util.c,v 1.6 1997/06/02 21:33:28 kstailey Exp $ */ +/* $OpenBSD: util.c,v 1.7 1997/06/17 21:00:01 kstailey Exp $ */ /* * Copyright (c) 1989 The Regents of the University of California. @@ -39,7 +39,7 @@ #ifndef lint /*static char sccsid[] = "from: @(#)util.c 5.14 (Berkeley) 1/17/91";*/ -static char rcsid[] = "$OpenBSD: util.c,v 1.6 1997/06/02 21:33:28 kstailey Exp $"; +static char rcsid[] = "$OpenBSD: util.c,v 1.7 1997/06/17 21:00:01 kstailey Exp $"; #endif /* not lint */ #include @@ -137,7 +137,7 @@ match(pw, user) if (!(p = strtok(p, ","))) return(0); expandusername(p, pw->pw_name, name, sizeof(name)); - for (t = name; (p = strtok(t, "\t ")) != NULL; t = (char *)NULL) + for (t = name; (p = strtok(t, "\t ")) != NULL; t = NULL) if (!strcasecmp(p, user)) return(1); return(0); -- cgit v1.2.3