summaryrefslogtreecommitdiff
path: root/compat
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2010-10-13 19:25:18 +0000
committerArthur de Jong <arthur@arthurdejong.org>2010-10-13 19:25:18 +0000
commit046f46c2bd38f82753902b3d3fc9934b1905ce84 (patch)
tree3a13ffefeedad749a4d6a38a1a4536a2201022d6 /compat
parent9c5cc937bd2b49116fd197a089f221e2ab9b0081 (diff)
small fix
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1265 ef36b2f9-881f-0410-afb5-c4e39611909c
Diffstat (limited to 'compat')
-rw-r--r--compat/ldap_passwd_s.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/compat/ldap_passwd_s.c b/compat/ldap_passwd_s.c
index 85825cb..6fc5cff 100644
--- a/compat/ldap_passwd_s.c
+++ b/compat/ldap_passwd_s.c
@@ -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 @@ extern int ldap_extended_operation_s(LDAP *ld,LDAP_CONST char *reqoid,
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