From 9f50b0516c0ae290232fea189b670d91196a1b00 Mon Sep 17 00:00:00 2001 From: Quanah Gibson-Mount Date: Tue, 12 Feb 2008 00:56:32 +0000 Subject: [PATCH] ITS#5338 --- CHANGES | 1 + libraries/libldap/open.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index b2bf1f9217..42414bb5b1 100644 --- a/CHANGES +++ b/CHANGES @@ -6,6 +6,7 @@ OpenLDAP 2.4.8 Engineering Fixed libldap extended decoding (ITS#5304) Fixed libldap filter abort (ITS#5300) Fixed libldap ldap_parse_sasl_bind_result (ITS#5263) + Fixed libldap result codes for open (ITS#5338) Fixed libldap search timeout crash (ITS#5291) Fixed libldap paged results crash (ITS#5315) Fixed libldap use of %n (ITS#5324) diff --git a/libraries/libldap/open.c b/libraries/libldap/open.c index b9b435dabe..6dec230650 100644 --- a/libraries/libldap/open.c +++ b/libraries/libldap/open.c @@ -82,7 +82,7 @@ ldap_open( LDAP_CONST char *host, int port ) } Debug( LDAP_DEBUG_TRACE, "ldap_open: %s\n", - ld == NULL ? "succeeded" : "failed", 0, 0 ); + ld != NULL ? "succeeded" : "failed", 0, 0 ); return ld; } -- 2.39.5