diff options
author | fanf <fanf@FreeBSD.org> | 2003-03-04 21:22:05 +0000 |
---|---|---|
committer | fanf <fanf@FreeBSD.org> | 2003-03-04 21:22:05 +0000 |
commit | d943cf7d510a2b42fe3ea82d18118d8842e35214 (patch) | |
tree | 1e04dfbaa8cb2bd7302d6a07c56cac24564f03c6 /usr.bin/uudecode | |
parent | e4bcd25517da2e44fd854859cc6ead7dcfe3df3a (diff) | |
download | FreeBSD-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/uudecode')
-rw-r--r-- | usr.bin/uudecode/uudecode.c | 2 |
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); |