lists.arthurdejong.org
RSS feed

nss-pam-ldapd commit: r1061 - nss-pam-ldapd/nslcd

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

nss-pam-ldapd commit: r1061 - nss-pam-ldapd/nslcd



Author: arthur
Date: Mon Jan 25 20:27:17 2010
New Revision: 1061
URL: http://arthurdejong.org/viewvc/nss-pam-ldapd?view=rev&revision=1061

Log:
fix for type mismatch (thanks to Jan Schampera)

Modified:
   nss-pam-ldapd/nslcd/myldap.c

Modified: nss-pam-ldapd/nslcd/myldap.c
==============================================================================
--- nss-pam-ldapd/nslcd/myldap.c        Sun Jan 24 18:07:11 2010        (r1060)
+++ nss-pam-ldapd/nslcd/myldap.c        Mon Jan 25 20:27:17 2010        (r1061)
@@ -1606,7 +1606,7 @@
   ber_userdn.bv_val=(char *)userdn;
   ber_userdn.bv_len=strlen(userdn);
   ber_oldpassword.bv_val=(char *)oldpassword;
-  ber_oldpassword.bv_len=oldpassword?strlen(oldpassword):NULL;
+  ber_oldpassword.bv_len=oldpassword?strlen(oldpassword):0;
   ber_newpassword.bv_val=(char *)newpasswd;
   ber_newpassword.bv_len=strlen(newpasswd);
   ber_retpassword.bv_val=NULL;
--
To unsubscribe send an email to
nss-pam-ldapd-commits-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-commits