summaryrefslogtreecommitdiffstats
path: root/usr.bin/uudecode/uudecode.c
diff options
context:
space:
mode:
authorfanf <fanf@FreeBSD.org>2002-09-03 09:58:11 +0000
committerfanf <fanf@FreeBSD.org>2002-09-03 09:58:11 +0000
commite43529519ee9da87fd83179b78fdd8ddc302942b (patch)
tree4eba95e1cacafa53741272818fa926753229b196 /usr.bin/uudecode/uudecode.c
parent0376d803eb34f5035a9899c097d36175396cc874 (diff)
downloadFreeBSD-src-e43529519ee9da87fd83179b78fdd8ddc302942b.zip
FreeBSD-src-e43529519ee9da87fd83179b78fdd8ddc302942b.tar.gz
Remove spurious whitespace
Diffstat (limited to 'usr.bin/uudecode/uudecode.c')
-rw-r--r--usr.bin/uudecode/uudecode.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/usr.bin/uudecode/uudecode.c b/usr.bin/uudecode/uudecode.c
index 121f57a..e4290b8 100644
--- a/usr.bin/uudecode/uudecode.c
+++ b/usr.bin/uudecode/uudecode.c
@@ -114,7 +114,6 @@ main(int argc, char *argv[])
argc -= optind;
argv += optind;
-
if (*argv) {
rval = 0;
do {
@@ -138,7 +137,7 @@ decode(void)
int flag;
/* decode only one file per input stream */
- if (!cflag)
+ if (!cflag)
return(decode2(0));
/* multiple uudecode'd files */
@@ -199,7 +198,7 @@ decode2(int flag)
if (strlcpy(buf, outfile, sizeof(buf)) >= sizeof(buf))
errx(1, "%s: filename too long", outfile);
if (!sflag && !pflag) {
- strlcpy(buffn, buf, sizeof(buffn));
+ strlcpy(buffn, buf, sizeof(buffn));
if (strrchr(buffn, '/') != NULL)
strncpy(buf, strrchr(buffn, '/') + 1, sizeof(buf));
if (buf[0] == '\0') {
@@ -288,7 +287,7 @@ if (!ignore) \
break;
for (++p; n > 0; p += 4, n -= 3)
if (n >= 3) {
- if (!(IS_DEC(*p) && IS_DEC(*(p + 1)) &&
+ if (!(IS_DEC(*p) && IS_DEC(*(p + 1)) &&
IS_DEC(*(p + 2)) && IS_DEC(*(p + 3))))
OUT_OF_RANGE
@@ -298,7 +297,6 @@ if (!ignore) \
PUTCHAR(ch);
ch = DEC(p[2]) << 6 | DEC(p[3]);
PUTCHAR(ch);
-
}
else {
if (n >= 1) {
@@ -308,7 +306,7 @@ if (!ignore) \
PUTCHAR(ch);
}
if (n >= 2) {
- if (!(IS_DEC(*(p + 1)) &&
+ if (!(IS_DEC(*(p + 1)) &&
IS_DEC(*(p + 2))))
OUT_OF_RANGE
@@ -316,7 +314,7 @@ if (!ignore) \
PUTCHAR(ch);
}
if (n >= 3) {
- if (!(IS_DEC(*(p + 2)) &&
+ if (!(IS_DEC(*(p + 2)) &&
IS_DEC(*(p + 3))))
OUT_OF_RANGE
ch = DEC(p[2]) << 6 | DEC(p[3]);
@@ -324,7 +322,7 @@ if (!ignore) \
}
}
}
- if (fgets(buf, sizeof(buf), stdin) == NULL ||
+ if (fgets(buf, sizeof(buf), stdin) == NULL ||
(strcmp(buf, "end") && strcmp(buf, "end\n") &&
strcmp(buf, "end\r\n"))) {
warnx("%s: no \"end\" line", filename);
OpenPOWER on IntegriCloud