From abfb0c679a237ea270435164ba88efbccadbf5b1 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Wed, 10 Sep 2003 00:10:45 +0000 Subject: [PATCH] Better printability test. --- shredtree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shredtree.c b/shredtree.c index 78afbd1..acd216c 100644 --- a/shredtree.c +++ b/shredtree.c @@ -61,7 +61,7 @@ static int eligible(const char *file) printable++; /* are we over the critical percentage? */ - return (printable/strlen(buf) >= MIN_PRINTABLE); + return (printable >= MIN_PRINTABLE * strlen(buf)); } } -- 2.43.0