From 4364d4c485bdad4d67da57dbfe79fb994ca177fe Mon Sep 17 00:00:00 2001 From: Tony Finch Date: Tue, 4 Mar 2003 21:22:05 +0000 Subject: Don't complain about an early end-of-file in the -r case rather than the opposite. Does this pointy hat look good on me? --- usr.bin/uudecode/uudecode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr.bin') diff --git a/usr.bin/uudecode/uudecode.c b/usr.bin/uudecode/uudecode.c index c28208a8bedb..88ef4551b2d7 100644 --- a/usr.bin/uudecode/uudecode.c +++ b/usr.bin/uudecode/uudecode.c @@ -308,7 +308,7 @@ getline(char *buf, size_t size) { if (fgets(buf, size, infp) != NULL) return (2); - if (!rflag) + if (rflag) return (0); warnx("%s: %s: short file", infile, outfile); return (1); -- cgit v1.3