sbase

suckless unix tools
git clone git://git.2f30.org/sbase.git
Log | Files | Refs | README | LICENSE

commit ddeb4c0e3569d32dde71ca3a0b76571afe84e17d
parent b47dab2d4d588f604ead3ecde511e91f9c61c881
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Fri Feb 20 14:35:28 +0100

uudecode: add newline to out-of-range error

Diffstat:
uudecode.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/uudecode.c b/uudecode.c @@ -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;