Ditto for (gid_t).
This commit is contained in:
parent
52e7ee748d
commit
c4536e21d4
@ -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