diff options
| author | Yaroslav Tykhiy <ytykhiy@gmail.com> | 2004-07-30 17:30:07 +0000 |
|---|---|---|
| committer | Yaroslav Tykhiy <ytykhiy@gmail.com> | 2004-07-30 17:30:07 +0000 |
| commit | c4536e21d43168bf74541af45feb10f731194037 (patch) | |
| tree | 121faeccc7fb95e6ce0fe5e52dfee81535c9e5ff /libexec/ftpd | |
| parent | 52e7ee748d8b94ad270050573e4b6373fc2de617 (diff) | |
Notes
Diffstat (limited to 'libexec/ftpd')
| -rw-r--r-- | libexec/ftpd/ftpd.c | 2 |
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; } |
