From c88eb4583ea118f08c3bd5ca7b197674c80f0120 Mon Sep 17 00:00:00 2001 From: des Date: Thu, 28 Nov 2002 20:11:31 +0000 Subject: Whitespace nits. Approved by: re (bmah) --- lib/libpam/modules/pam_ksu/pam_ksu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/libpam') diff --git a/lib/libpam/modules/pam_ksu/pam_ksu.c b/lib/libpam/modules/pam_ksu/pam_ksu.c index ab413a9..a2ffe61 100644 --- a/lib/libpam/modules/pam_ksu/pam_ksu.c +++ b/lib/libpam/modules/pam_ksu/pam_ksu.c @@ -58,7 +58,7 @@ pam_sm_authenticate(pam_handle_t *pamh, int flags __unused, char *su_principal_name; long rv; int pamret; - + pamret = pam_get_user(pamh, &user, NULL); if (pamret != PAM_SUCCESS) return (pamret); @@ -238,7 +238,7 @@ get_su_principal(krb5_context context, const char *target_user, const char *curr *su_principal_name = NULL; (void)asprintf(su_principal_name, "%s/%s@%s", principal_name, superuser, p); free(principal_name); - } else + } else *su_principal_name = principal_name; if (*su_principal_name == NULL) -- cgit v1.1