Re-indent.

This commit is contained in:
nekral-guest 2007-12-29 11:19:39 +00:00
parent a7cbfedc85
commit 37ccc0a3d4

View File

@ -402,6 +402,7 @@ static void check_perms (void)
{
#ifdef USE_PAM
pam_handle_t *pamh = NULL;
struct passwd *pampw;
int retval;
#endif
@ -423,17 +424,13 @@ static void check_perms (void)
#ifdef USE_PAM
retval = PAM_SUCCESS;
{
struct passwd *pampw;
pampw = getpwuid (getuid ()); /* local, no need for xgetpwuid */
if (pampw == NULL) {
retval = PAM_USER_UNKNOWN;
}
if (retval == PAM_SUCCESS) {
retval = pam_start ("chage", pampw->pw_name,
&conv, &pamh);
}
retval = pam_start ("chage", pampw->pw_name, &conv, &pamh);
}
if (retval == PAM_SUCCESS) {