mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-17 08:00:48 +01:00
Oops, restore missing piece of previous commit.
This commit is contained in:
parent
a0b037c2c7
commit
9137242c2c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=15385
@ -172,7 +172,7 @@ decode()
|
||||
}
|
||||
}
|
||||
}
|
||||
if (!fgets(buf, sizeof(buf), stdin) || strcmp(buf, "end") || (buf[3] && buf[3] != '\n')) {
|
||||
if (!fgets(buf, sizeof(buf), stdin) || strncmp(buf, "end", 3) || (buf[3] && buf[3] != '\n')) {
|
||||
(void)fprintf(stderr, "uudecode: %s: no \"end\" line.\n",
|
||||
filename);
|
||||
return(1);
|
||||
|
Loading…
Reference in New Issue
Block a user