diff options
author | 2004-03-13 20:08:21 +0000 | |
---|---|---|
committer | 2004-03-13 20:08:21 +0000 | |
commit | d40d8d8296c404a09507ae10a2eeecc6cfc21ff3 (patch) | |
tree | 82fbd88bd7d6e49b28cdb0aea5dd993c7448666d | |
parent | Add signal handler to parent, so that when greylisting we don't need to (diff) | |
download | wireguard-openbsd-d40d8d8296c404a09507ae10a2eeecc6cfc21ff3.tar.xz wireguard-openbsd-d40d8d8296c404a09507ae10a2eeecc6cfc21ff3.zip |
use NULL for pointers. from Joris Vink
-rw-r--r-- | usr.bin/rs/rs.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/rs/rs.c b/usr.bin/rs/rs.c index 4572cc264e6..23d36daea9e 100644 --- a/usr.bin/rs/rs.c +++ b/usr.bin/rs/rs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rs.c,v 1.10 2003/10/16 16:57:14 tedu Exp $ */ +/* $OpenBSD: rs.c,v 1.11 2004/03/13 20:08:21 tedu Exp $ */ /*- * Copyright (c) 1993 @@ -123,7 +123,7 @@ getfile(void) { char *p; char *endp; - char **ep = 0; + char **ep = NULL; int multisep = (flags & ONEISEPONLY ? 0 : 1); int nullpad = flags & NULLPAD; char **padto; @@ -180,7 +180,7 @@ getfile(void) } } } while (getline() != EOF); - *ep = 0; /* mark end of pointers */ + *ep = NULL; /* mark end of pointers */ nelem = ep - elem; } |