lists.arthurdejong.org
RSS feed

[PATCH] Fix a typo in disconnect logic

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

[PATCH] Fix a typo in disconnect logic



This problem was reported by Martin Poole in Red Hat Bugzilla #747281
>From 5515b577a8d5416aa1012b529f8202bc5e3f9e10 Mon Sep 17 00:00:00 2001
From: Jakub Hrozek <jhrozek@redhat.com>
Date: Thu, 8 Dec 2011 13:48:01 +0100
Subject: [PATCH] Fix a typo in disconnect logic

This problem was reported by Martin Poole in Red Hat Bugzilla #747281
---
 nslcd/myldap.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/nslcd/myldap.c b/nslcd/myldap.c
index 
c5d898ecd14e84ca4f21790870e95b8aa83cd968..5858f0fa1f6a958fef9ff772f8b09b8d63ade4b4
 100644
--- a/nslcd/myldap.c
+++ b/nslcd/myldap.c
@@ -1245,7 +1245,7 @@ MYLDAP_ENTRY *myldap_get_entry(MYLDAP_SEARCH *search,int 
*rcp)
         }
         /* close connection on some connection problems */
         if 
((rc==LDAP_UNAVAILABLE)||(rc==LDAP_SERVER_DOWN)||(rc==LDAP_SUCCESS)||
-            (rc==LDAP_TIMELIMIT_EXCEEDED)|(rc==LDAP_OPERATIONS_ERROR)||
+            (rc==LDAP_TIMELIMIT_EXCEEDED)||(rc==LDAP_OPERATIONS_ERROR)||
             (rc==LDAP_PROTOCOL_ERROR))
         {
           do_close(search->session);
-- 
1.7.7.3

-- 
To unsubscribe send an email to
nss-pam-ldapd-users-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-users/