diff options
author | Marcelo Araujo <araujo@FreeBSD.org> | 2016-04-18 14:44:01 +0000 |
---|---|---|
committer | Marcelo Araujo <araujo@FreeBSD.org> | 2016-04-18 14:44:01 +0000 |
commit | 7a4b1114b1d0bebc3198b5b91d9e6265e7e81ac2 (patch) | |
tree | 0a4bfd2a230a715e696fb302fb99d7a9d4d85d96 /usr.bin | |
parent | 5eadfbfcd01e23d3de1958c013ca556dbf0b5458 (diff) | |
download | src-test2-7a4b1114b1d0bebc3198b5b91d9e6265e7e81ac2.tar.gz src-test2-7a4b1114b1d0bebc3198b5b91d9e6265e7e81ac2.zip |
Notes
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/finger/net.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/finger/net.c b/usr.bin/finger/net.c index da3a4e1b2fe4..db5f96dd8526 100644 --- a/usr.bin/finger/net.c +++ b/usr.bin/finger/net.c @@ -68,7 +68,7 @@ netfinger(char *name) static struct addrinfo hint; host = strrchr(name, '@'); - if (host == 0) + if (host == NULL) return; *host++ = '\0'; signal(SIGALRM, cleanup); @@ -92,7 +92,7 @@ netfinger(char *name) else printf("[%s]\n", ai0->ai_canonname); - for (ai = ai0; ai != 0; ai = ai->ai_next) { + for (ai = ai0; ai != NULL; ai = ai->ai_next) { if (multi) trying(ai); |