aboutsummaryrefslogtreecommitdiff
path: root/libexec/ftpd
diff options
context:
space:
mode:
authorYaroslav Tykhiy <ytykhiy@gmail.com>2004-07-30 17:30:07 +0000
committerYaroslav Tykhiy <ytykhiy@gmail.com>2004-07-30 17:30:07 +0000
commitc4536e21d43168bf74541af45feb10f731194037 (patch)
tree121faeccc7fb95e6ce0fe5e52dfee81535c9e5ff /libexec/ftpd
parent52e7ee748d8b94ad270050573e4b6373fc2de617 (diff)
Notes
Diffstat (limited to 'libexec/ftpd')
-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 72456aee2f1ef..5716e0123637f 100644
--- a/libexec/ftpd/ftpd.c
+++ b/libexec/ftpd/ftpd.c
@@ -1401,7 +1401,7 @@ skip:
}
}
login_attempts = 0; /* this time successful */
- if (setegid((gid_t)pw->pw_gid) < 0) {
+ if (setegid(pw->pw_gid) < 0) {
reply(550, "Can't set gid.");
return;
}