Author: baggins                      Date: Tue Jul 12 16:36:02 2005 GMT
Module: pam                           Tag: HEAD
---- Log message:
- simplify things

---- Files affected:
pam/modules/pam_unix:
   support.c (1.26 -> 1.27) 

---- Diffs:

================================================================
Index: pam/modules/pam_unix/support.c
diff -u pam/modules/pam_unix/support.c:1.26 pam/modules/pam_unix/support.c:1.27
--- pam/modules/pam_unix/support.c:1.26 Tue Jul 12 18:31:09 2005
+++ pam/modules/pam_unix/support.c      Tue Jul 12 18:35:57 2005
@@ -829,9 +829,7 @@
                                new->name = x_strdup(login_name);
 
                                /* any previous failures for this user ? */
-                               if (pam_get_data(pamh, data_name, &void_old) != 
PAM_SUCCESS)
-                                       old = NULL;
-                               else
+                               if (pam_get_data(pamh, data_name, &void_old) == 
PAM_SUCCESS)
                                        old = void_old;
 
                                if (old != NULL) {
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/pam/modules/pam_unix/support.c?r1=1.26&r2=1.27&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to