diff options
author | kstailey <kstailey@cvs.openbsd.org> | 1997-06-17 21:00:02 +0000 |
---|---|---|
committer | kstailey <kstailey@cvs.openbsd.org> | 1997-06-17 21:00:02 +0000 |
commit | a5b6ad714541a9c9f0a38e3e97038715a8ff6ec0 (patch) | |
tree | 4680b651ff1a19662eb268fb39ba4e5f53293b9d /usr.bin/finger/util.c | |
parent | 174026833cc40bf40f8dcfd58f8255f528170a17 (diff) |
(foo *)NULL -> NULL
Diffstat (limited to 'usr.bin/finger/util.c')
-rw-r--r-- | usr.bin/finger/util.c | 6 |
1 files 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 <sys/types.h> @@ -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); |