mirror of
git://git.suckless.org/sbase
synced 2024-12-25 00:12:42 +00:00
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 */
|
||||
afgets(&bufb, &n, fp);
|
||||
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