Correct error message in uudecode(1)
This commit is contained in:
parent
71461978f2
commit
136f2f3b60
|
@ -204,5 +204,5 @@ uudecode(FILE *fp, FILE *outfp)
|
||||||
/* check for end or fail */
|
/* check for end or fail */
|
||||||
afgets(&bufb, &n, fp);
|
afgets(&bufb, &n, fp);
|
||||||
if (strnlen(bufb, 3) < 3 || strncmp(bufb, "end", 3) != 0 || bufb[3] != '\n')
|
if (strnlen(bufb, 3) < 3 || strncmp(bufb, "end", 3) != 0 || bufb[3] != '\n')
|
||||||
eprintf("valid uudecode footer \"end\" not found\n");
|
eprintf("invalid uudecode footer \"end\" not found\n");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user