[Pkg-shadow-commits] r2324 - upstream/trunk/src
nekral-guest at alioth.debian.org
nekral-guest at alioth.debian.org
Sun Aug 31 17:29:25 UTC 2008
Author: nekral-guest
Date: 2008-08-31 17:29:24 +0000 (Sun, 31 Aug 2008)
New Revision: 2324
Modified:
upstream/trunk/src/groupmems.c
Log:
re-indent.
Modified: upstream/trunk/src/groupmems.c
===================================================================
--- upstream/trunk/src/groupmems.c 2008-08-31 17:29:17 UTC (rev 2323)
+++ upstream/trunk/src/groupmems.c 2008-08-31 17:29:24 UTC (rev 2324)
@@ -274,31 +274,31 @@
{
if (!list) {
#ifdef USE_PAM
- pam_handle_t *pamh = NULL;
- int retval = PAM_SUCCESS;
- struct passwd *pampw;
+ pam_handle_t *pamh = NULL;
+ int retval = PAM_SUCCESS;
+ struct passwd *pampw;
- pampw = getpwuid (getuid ()); /* local, no need for xgetpwuid */
- if (NULL == pampw) {
- retval = PAM_USER_UNKNOWN;
- } else {
- retval = pam_start ("groupmems", pampw->pw_name,
- &conv, &pamh);
- }
+ pampw = getpwuid (getuid ()); /* local, no need for xgetpwuid */
+ if (NULL == pampw) {
+ retval = PAM_USER_UNKNOWN;
+ } else {
+ retval = pam_start ("groupmems", pampw->pw_name,
+ &conv, &pamh);
+ }
- if (PAM_SUCCESS == retval) {
- retval = pam_authenticate (pamh, 0);
- }
+ if (PAM_SUCCESS == retval) {
+ retval = pam_authenticate (pamh, 0);
+ }
- if (PAM_SUCCESS == retval) {
- retval = pam_acct_mgmt (pamh, 0);
- }
+ if (PAM_SUCCESS == retval) {
+ retval = pam_acct_mgmt (pamh, 0);
+ }
- (void) pam_end (pamh, retval);
- if (PAM_SUCCESS != retval) {
- fprintf (stderr, _("%s: PAM authentication failed\n"), Prog);
- fail_exit (1);
- }
+ (void) pam_end (pamh, retval);
+ if (PAM_SUCCESS != retval) {
+ fprintf (stderr, _("%s: PAM authentication failed\n"), Prog);
+ fail_exit (1);
+ }
#endif
}
}
More information about the Pkg-shadow-commits
mailing list