summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorfanf <fanf@FreeBSD.org>2003-03-04 21:22:05 +0000
committerfanf <fanf@FreeBSD.org>2003-03-04 21:22:05 +0000
commitd943cf7d510a2b42fe3ea82d18118d8842e35214 (patch)
tree1e04dfbaa8cb2bd7302d6a07c56cac24564f03c6 /usr.bin
parente4bcd25517da2e44fd854859cc6ead7dcfe3df3a (diff)
downloadFreeBSD-src-d943cf7d510a2b42fe3ea82d18118d8842e35214.zip
FreeBSD-src-d943cf7d510a2b42fe3ea82d18118d8842e35214.tar.gz
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?
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/uudecode/uudecode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/uudecode/uudecode.c b/usr.bin/uudecode/uudecode.c
index c28208a8..88ef455 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);
OpenPOWER on IntegriCloud