diff options
author | Matt Kraai <kraai@debian.org> | 2001-12-20 23:13:26 +0000 |
---|---|---|
committer | Matt Kraai <kraai@debian.org> | 2001-12-20 23:13:26 +0000 |
commit | 1f0c43668ac332cbcf61cbdf71844799327cc8b9 (patch) | |
tree | 97414e991363fa613f229019d697280cae1097e0 /libbb/isdirectory.c | |
parent | 31c73af656813b5cadcb1dd27adb9bbc62a98987 (diff) | |
download | busybox-w32-1f0c43668ac332cbcf61cbdf71844799327cc8b9.tar.gz busybox-w32-1f0c43668ac332cbcf61cbdf71844799327cc8b9.tar.bz2 busybox-w32-1f0c43668ac332cbcf61cbdf71844799327cc8b9.zip |
Remove `== TRUE' tests and convert `!= TRUE' and `== FALSE' tests to use !.
Diffstat (limited to 'libbb/isdirectory.c')
-rw-r--r-- | libbb/isdirectory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/isdirectory.c b/libbb/isdirectory.c index 3dfe10522..e8ef2df14 100644 --- a/libbb/isdirectory.c +++ b/libbb/isdirectory.c | |||
@@ -39,7 +39,7 @@ int is_directory(const char *fileName, const int followLinks, struct stat *statB | |||
39 | ++didMalloc; | 39 | ++didMalloc; |
40 | } | 40 | } |
41 | 41 | ||
42 | if (followLinks == TRUE) | 42 | if (followLinks) |
43 | status = stat(fileName, statBuf); | 43 | status = stat(fileName, statBuf); |
44 | else | 44 | else |
45 | status = lstat(fileName, statBuf); | 45 | status = lstat(fileName, statBuf); |