Re-indent.
This commit is contained in:
parent
5f9226b14b
commit
7c9270d7a5
@ -57,7 +57,7 @@ struct passwd *get_my_pwent (void)
|
|||||||
* XXX - when running from su, will return the current user (not
|
* XXX - when running from su, will return the current user (not
|
||||||
* the original user, like getlogin() does). Does this matter?
|
* the original user, like getlogin() does). Does this matter?
|
||||||
*/
|
*/
|
||||||
if ((NULL !=cp) && ('\0' != *cp)) {
|
if ((NULL != cp) && ('\0' != *cp)) {
|
||||||
pw = xgetpwnam (cp);
|
pw = xgetpwnam (cp);
|
||||||
if ((NULL != pw) && (pw->pw_uid == ruid)) {
|
if ((NULL != pw) && (pw->pw_uid == ruid)) {
|
||||||
return pw;
|
return pw;
|
||||||
|
Loading…
Reference in New Issue
Block a user