pam: strip trailing whitespaces in pam_winbind.c
authorBjörn Jacke <bj@sernet.de>
Tue, 13 Dec 2016 08:00:58 +0000 (09:00 +0100)
committerBjoern Jacke <bj@sernet.de>
Tue, 13 Dec 2016 17:01:21 +0000 (18:01 +0100)
Signed-off-by: Bjoern Jacke <bj@sernet.de>
Reviewed-by: Karolin Seeger <ks@sernet.de>
Autobuild-User(master): Björn Jacke <bj@sernet.de>
Autobuild-Date(master): Tue Dec 13 18:01:21 CET 2016 on sn-devel-144

nsswitch/pam_winbind.c

index 4ae78b35f005e2c42ece9fcf6fdb4926d3a05d14..40f4f7a014f7c1e93f872a3e890757e736af6b29 100644 (file)
@@ -12,7 +12,7 @@
 
 #include "pam_winbind.h"
 
-enum pam_winbind_request_type 
+enum pam_winbind_request_type
 {
        PAM_WINBIND_AUTHENTICATE,
        PAM_WINBIND_SETCRED,
@@ -490,12 +490,12 @@ config_from_pam:
                else if (!strcasecmp(*v, "unknown_ok"))
                        ctrl |= WINBIND_UNKNOWN_OK_ARG;
                else if ((type == PAM_WINBIND_AUTHENTICATE
-                         || type == PAM_WINBIND_SETCRED) 
+                         || type == PAM_WINBIND_SETCRED)
                         && !strncasecmp(*v, "require_membership_of",
                                         strlen("require_membership_of")))
                        ctrl |= WINBIND_REQUIRED_MEMBERSHIP;
-               else if ((type == PAM_WINBIND_AUTHENTICATE 
-                         || type == PAM_WINBIND_SETCRED) 
+               else if ((type == PAM_WINBIND_AUTHENTICATE
+                         || type == PAM_WINBIND_SETCRED)
                         && !strncasecmp(*v, "require-membership-of",
                                         strlen("require-membership-of")))
                        ctrl |= WINBIND_REQUIRED_MEMBERSHIP;
@@ -2502,7 +2502,7 @@ static char* winbind_upn_to_username(struct pwb_context *ctx,
 }
 
 static int _pam_delete_cred(pam_handle_t *pamh, int flags,
-                           int argc, enum pam_winbind_request_type type, 
+                           int argc, enum pam_winbind_request_type type,
                            const char **argv)
 {
        int retval = PAM_SUCCESS;