From bb16bd87d79fa9a9b627045dc6b24053b2f3b7b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dag-Erling=20Sm=C3=B8rgrav?= Date: Thu, 28 Nov 2002 20:11:31 +0000 Subject: [PATCH] Whitespace nits. Approved by: re (bmah) --- lib/libpam/modules/pam_ksu/pam_ksu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libpam/modules/pam_ksu/pam_ksu.c b/lib/libpam/modules/pam_ksu/pam_ksu.c index ab413a975e40..a2ffe6155ec8 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)