diff options
author | Tony Finch <fanf@FreeBSD.org> | 2002-09-10 20:33:39 +0000 |
---|---|---|
committer | Tony Finch <fanf@FreeBSD.org> | 2002-09-10 20:33:39 +0000 |
commit | 89f6a6d22994e3d60e22c8fbe24e8d7419e616ac (patch) | |
tree | 06920c712692c153603c638797b7ea6e87d059e4 /usr.bin | |
parent | 6ce2a155da866c85df67a41ca86a1da90cba6657 (diff) | |
download | src-89f6a6d22994e3d60e22c8fbe24e8d7419e616ac.tar.gz src-89f6a6d22994e3d60e22c8fbe24e8d7419e616ac.zip |
Replace a goto with continue.
Notes
Notes:
svn path=/head/; revision=103199
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/uudecode/uudecode.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/uudecode/uudecode.c b/usr.bin/uudecode/uudecode.c index 855687ca1730..28bf7cee6bc5 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) ) |