diff options
author | Matt Kraai <kraai@debian.org> | 2000-12-01 05:55:13 +0300 |
---|---|---|
committer | Matt Kraai <kraai@debian.org> | 2000-12-01 05:55:13 +0300 |
commit | 3e856ce428cabaf6c8d99a2374a1f9a4a05db5f0 (patch) | |
tree | 013a1e7752113314831ad7d51854ce8dc9e0918b /networking | |
parent | b558e76eb1ba173ce3501c3e13fb80f426a7faac (diff) |
Stop using TRUE and FALSE for exit status.
Diffstat (limited to 'networking')
-rw-r--r-- | networking/nslookup.c | 4 | ||||
-rw-r--r-- | networking/ping.c | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/networking/nslookup.c b/networking/nslookup.c index acb3e3bb2..c46a0b8ea 100644 --- a/networking/nslookup.c +++ b/networking/nslookup.c @@ -167,7 +167,7 @@ int nslookup_main(int argc, char **argv) host = gethostbyname(argv[1]); } hostent_fprint(host, stdout); - return( TRUE); + return EXIT_SUCCESS; } -/* $Id: nslookup.c,v 1.12 2000/09/25 21:45:58 andersen Exp $ */ +/* $Id: nslookup.c,v 1.13 2000/12/01 02:55:13 kraai Exp $ */ diff --git a/networking/ping.c b/networking/ping.c index a4363098e..af109cf0a 100644 --- a/networking/ping.c +++ b/networking/ping.c @@ -1,6 +1,6 @@ /* vi: set sw=4 ts=4: */ /* - * $Id: ping.c,v 1.26 2000/11/14 23:29:24 andersen Exp $ + * $Id: ping.c,v 1.27 2000/12/01 02:55:13 kraai Exp $ * Mini ping implementation for busybox * * Copyright (C) 1999 by Randolph Chung <tausq@debian.org> @@ -256,7 +256,7 @@ extern int ping_main(int argc, char **argv) if (argc < 1) usage(ping_usage); ping(*argv); - exit(TRUE); + return EXIT_SUCCESS; } #else /* ! BB_FEATURE_SIMPLE_PING */ @@ -546,7 +546,7 @@ extern int ping_main(int argc, char **argv) myid = getpid() & 0xFFFF; ping(*argv); - return(TRUE); + return EXIT_SUCCESS; } #endif /* ! BB_FEATURE_SIMPLE_PING */ |