lists.arthurdejong.org
RSS feed

nss-pam-ldapd commit: r1265 - nss-pam-ldapd/compat

[Date Prev][Date Next] [Thread Prev][Thread Next]

nss-pam-ldapd commit: r1265 - nss-pam-ldapd/compat



Author: arthur
Date: Wed Oct 13 21:25:18 2010
New Revision: 1265
URL: http://arthurdejong.org/viewvc/nss-pam-ldapd?view=rev&revision=1265

Log:
small fix

Modified:
   nss-pam-ldapd/compat/ldap_passwd_s.c

Modified: nss-pam-ldapd/compat/ldap_passwd_s.c
==============================================================================
--- nss-pam-ldapd/compat/ldap_passwd_s.c        Tue Oct 12 22:30:47 2010        
(r1264)
+++ nss-pam-ldapd/compat/ldap_passwd_s.c        Wed Oct 13 21:25:18 2010        
(r1265)
@@ -29,7 +29,7 @@
 #include <ldap.h>
 
 #include "compat/ldap_compat.h"
-#include "nslcd/log.h"
+#include "compat/attrs.h"
 
 #ifndef LDAP_EXOP_MODIFY_PASSWD
 #ifdef LDAP_EXOP_X_MODIFY_PASSWD
@@ -66,7 +66,7 @@
    the new password to set and newpasswd is sometimes returned (though not
    by us). See RFC 3062 for details.*/
 int ldap_passwd_s(LDAP *ld,struct berval *user,struct berval *oldpw,
-                  struct berval *newpw,struct berval *newpasswd,
+                  struct berval *newpw,struct berval UNUSED(*newpasswd),
                   LDAPControl **sctrls,LDAPControl **cctrls)
 {
 #ifndef HAVE_LDAP_EXTENDED_OPERATION_S
--
To unsubscribe send an email to
nss-pam-ldapd-commits-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-commits