From 83929dd8aa8f528dcf67f5fa22a7a3a53433ab67 Mon Sep 17 00:00:00 2001 From: Shav Kinderlehrer Date: Wed, 19 Apr 2023 22:30:10 -0400 Subject: Add args - --literal - fix outputting format for less and piped output (finally) --- src/lib/file.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/lib/file.c') diff --git a/src/lib/file.c b/src/lib/file.c index 73b76ce..1f2372a 100644 --- a/src/lib/file.c +++ b/src/lib/file.c @@ -16,9 +16,9 @@ bool isbinary(struct filedata *f) { char *result = memchr(testbuf, 0x00, testlen); if (result) { - return true; + return true; } else { - return false; + return false; } } @@ -61,7 +61,7 @@ struct filedata readfile(FILE *fp, bool isstdin) { } f.buf[f.buflen] = '\0'; - f.binary = isbinary(&f); + f.binary = isbinary(&f); return f; } @@ -79,7 +79,7 @@ struct filedata readfile(FILE *fp, bool isstdin) { die("fread"); } - f.binary = isbinary(&f); + f.binary = isbinary(&f); return f; } -- cgit v1.2.3