aboutsummaryrefslogtreecommitdiff
path: root/coreutils/cat.c
diff options
context:
space:
mode:
authorkraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-12-20 23:13:26 +0000
committerkraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277>2001-12-20 23:13:26 +0000
commitc3d7ff736bf14fd86f3f3f1246bc66d5e1afbc65 (patch)
tree97414e991363fa613f229019d697280cae1097e0 /coreutils/cat.c
parent62ecfc62e8eb535636f3c1029052f4b13b9b2183 (diff)
downloadbusybox-w32-c3d7ff736bf14fd86f3f3f1246bc66d5e1afbc65.tar.gz
busybox-w32-c3d7ff736bf14fd86f3f3f1246bc66d5e1afbc65.tar.bz2
busybox-w32-c3d7ff736bf14fd86f3f3f1246bc66d5e1afbc65.zip
Remove `== TRUE' tests and convert `!= TRUE' and `== FALSE' tests to use !.
git-svn-id: svn://busybox.net/trunk/busybox@3925 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'coreutils/cat.c')
-rw-r--r--coreutils/cat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/cat.c b/coreutils/cat.c
index 820b6342e..33f15da71 100644
--- a/coreutils/cat.c
+++ b/coreutils/cat.c
@@ -37,7 +37,7 @@ extern int cat_main(int argc, char **argv)
37 while (--argc > 0) { 37 while (--argc > 0) {
38 if(!(strcmp(*++argv, "-"))) { 38 if(!(strcmp(*++argv, "-"))) {
39 print_file(stdin); 39 print_file(stdin);
40 } else if (print_file_by_name(*argv) == FALSE) { 40 } else if (! print_file_by_name(*argv)) {
41 status = EXIT_FAILURE; 41 status = EXIT_FAILURE;
42 } 42 }
43 } 43 }