summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libexec/ftpd/ftpd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/ftpd/ftpd.c b/libexec/ftpd/ftpd.c
index 5d6fab5..ce9ac59 100644
--- a/libexec/ftpd/ftpd.c
+++ b/libexec/ftpd/ftpd.c
@@ -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;
}
OpenPOWER on IntegriCloud