---
toys/posix/find.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
From 7ac3a7a5b906b5c5bcc306e04ae2cf3293f2a132 Mon Sep 17 00:00:00 2001
From: Elliott Hughes <[email protected]>
Date: Sat, 9 Mar 2019 15:46:49 -0800
Subject: [PATCH] find: minor whitespace cleanup.
---
toys/posix/find.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/toys/posix/find.c b/toys/posix/find.c
index fdeb2048..1c35155b 100644
--- a/toys/posix/find.c
+++ b/toys/posix/find.c
@@ -396,13 +396,11 @@ static int do_find(struct dirtree *new)
if (copy != ss[1]) free(copy);
}
} else if (!strcmp(s, "size")) {
- if (check)
- test = compare_numsign(new->st.st_size, 512, ss[1]);
+ if (check) test = compare_numsign(new->st.st_size, 512, ss[1]);
} else if (!strcmp(s, "links")) {
if (check) test = compare_numsign(new->st.st_nlink, 0, ss[1]);
} else if (!strcmp(s, "inum")) {
- if (check)
- test = compare_numsign(new->st.st_ino, 0, ss[1]);
+ if (check) test = compare_numsign(new->st.st_ino, 0, ss[1]);
} else if (!strcmp(s, "mindepth") || !strcmp(s, "maxdepth")) {
if (check) {
struct dirtree *dt = new;
--
2.21.0.360.g471c308f928-goog
_______________________________________________
Toybox mailing list
[email protected]
http://lists.landley.net/listinfo.cgi/toybox-landley.net