lists.arthurdejong.org
RSS feed

nss-pam-ldapd commit: r1432 - in nss-pam-ldapd-0.7: . nslcd

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

nss-pam-ldapd commit: r1432 - in nss-pam-ldapd-0.7: . nslcd



Author: arthur
Date: Fri Apr 22 12:03:50 2011
New Revision: 1432
URL: http://arthurdejong.org/viewvc/nss-pam-ldapd?view=rev&revision=1432

Log:
report correct reported error from ldap_abandon() (merge r1431 from development)

Modified:
   nss-pam-ldapd-0.7/   (props changed)
   nss-pam-ldapd-0.7/nslcd/myldap.c

Modified: nss-pam-ldapd-0.7/nslcd/myldap.c
==============================================================================
--- nss-pam-ldapd-0.7/nslcd/myldap.c    Fri Apr 22 12:02:14 2011        (r1431)
+++ nss-pam-ldapd-0.7/nslcd/myldap.c    Fri Apr 22 12:03:50 2011        (r1432)
@@ -581,7 +581,7 @@
           log_log(LOG_DEBUG,"ldap_abandon()");
           if 
(ldap_abandon(session->searches[i]->session->ld,session->searches[i]->msgid))
           {
-            if 
(ldap_get_option(session->ld,LDAP_OPT_ERROR_NUMBER,&rc)==LDAP_SUCCESS)
+            if 
(ldap_get_option(session->ld,LDAP_OPT_ERROR_NUMBER,&rc)!=LDAP_SUCCESS)
               rc=LDAP_OTHER;
             log_log(LOG_WARNING,"ldap_abandon() failed to abandon search: 
%s",ldap_err2string(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