1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-15 10:17:20 +00:00

Fixed bug where /etc/ftpusers was ineffective. Caused by the wrong

pointer being passed to strcmp(). Bug noticed by Matthew Green.
This commit is contained in:
David Greenman 1994-09-20 15:53:30 +00:00
parent edee6d3816
commit 348c7a1250
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=2930

View File

@ -500,7 +500,7 @@ checkuser(name)
*p = '\0';
if (line[0] == '#')
continue;
if (strcmp(p, name) == 0) {
if (strcmp(line, name) == 0) {
found = 1;
break;
}