Ditto for (gid_t).
This commit is contained in:
parent
dc8c8c95c0
commit
4cacae89d9
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user