diff options
author | Matt Kraai | 2000-12-01 02:55:13 +0000 |
---|---|---|
committer | Matt Kraai | 2000-12-01 02:55:13 +0000 |
commit | 3e856ce428cabaf6c8d99a2374a1f9a4a05db5f0 (patch) | |
tree | 013a1e7752113314831ad7d51854ce8dc9e0918b /networking | |
parent | b558e76eb1ba173ce3501c3e13fb80f426a7faac (diff) | |
download | busybox-3e856ce428cabaf6c8d99a2374a1f9a4a05db5f0.zip busybox-3e856ce428cabaf6c8d99a2374a1f9a4a05db5f0.tar.gz |
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 acb3e3b..c46a0b8 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 a436309..af109cf 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 */ |