uudecode: add newline to out-of-range error

This commit is contained in:
Hiltjo Posthuma 2015-02-20 14:35:28 +01:00
parent b47dab2d4d
commit ddeb4c0e35
1 changed files with 1 additions and 1 deletions

View File

@ -165,7 +165,7 @@ uudecode(FILE *fp, FILE *outfp)
#define DEC(c) (((c) - ' ') & 077) /* single character decode */
#define IS_DEC(c) ( (((c) - ' ') >= 0) && (((c) - ' ') <= 077 + 1) )
#define OUT_OF_RANGE(c) eprintf("character %c out of range: [%d-%d]", (c), 1 + ' ', 077 + ' ' + 1)
#define OUT_OF_RANGE(c) eprintf("character %c out of range: [%d-%d]\n", (c), 1 + ' ', 077 + ' ' + 1)
while ((len = getline(&bufb, &n, fp)) != -1) {
p = bufb;