summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/uudecode/uudecode.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/uudecode/uudecode.c b/usr.bin/uudecode/uudecode.c
index 855687c..28bf7ce 100644
--- a/usr.bin/uudecode/uudecode.c
+++ b/usr.bin/uudecode/uudecode.c
@@ -253,7 +253,6 @@ decode2(int flag)
strcpy(buffn, buf); /* store file name from header line */
/* for each input line */
-next:
for (;;) {
if (!fgets(p = buf, sizeof(buf), stdin)) {
warnx("%s: short file", filename);
@@ -263,7 +262,7 @@ next:
if (strncmp(buf, "====", 4) == 0)
return (0);
base64_decode(buf);
- goto next;
+ continue;
}
#define DEC(c) (((c) - ' ') & 077) /* single character decode */
#define IS_DEC(c) ( (((c) - ' ') >= 0) && (((c) - ' ') <= 077 + 1) )
OpenPOWER on IntegriCloud