Ditto for (gid_t).

This commit is contained in:
Yaroslav Tykhiy 2004-07-30 17:30:07 +00:00
parent 52e7ee748d
commit c4536e21d4

View File

@ -1401,7 +1401,7 @@ pass(char *passwd)
}
}
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;
}