lists.arthurdejong.org
RSS feed

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

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

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



Author: arthur
Date: Sun Jul  8 09:17:03 2012
New Revision: 1714
URL: http://arthurdejong.org/viewvc/nss-pam-ldapd?revision=1714&view=revision

Log:
remove duplicate getting of LDAP_OPT_DIAGNOSTIC_MESSAGE (should have been part 
of r1639)

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

Modified: nss-pam-ldapd/nslcd/myldap.c
==============================================================================
--- nss-pam-ldapd/nslcd/myldap.c        Sat Jul  7 17:35:07 2012        (r1713)
+++ nss-pam-ldapd/nslcd/myldap.c        Sun Jul  8 09:17:03 2012        (r1714)
@@ -428,12 +428,7 @@
     rc=ldap_start_tls_s(ld,NULL,NULL);
     if (rc!=LDAP_SUCCESS)
     {
-#ifdef LDAP_OPT_DIAGNOSTIC_MESSAGE
-      ldap_get_option(ld,LDAP_OPT_DIAGNOSTIC_MESSAGE,&msg);
-#endif /* LDAP_OPT_DIAGNOSTIC_MESSAGE */
       myldap_err(LOG_WARNING,ld,rc,"ldap_start_tls_s() failed (uri=%s)",uri);
-      if (msg)
-        ldap_memfree(msg);
       return rc;
     }
   }
-- 
To unsubscribe send an email to
nss-pam-ldapd-commits-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-commits/