From 91ff00a4a0c378df880bb3532487a857a7aad114 Mon Sep 17 00:00:00 2001 From: Quanah Gibson-Mount Date: Thu, 10 Jun 2010 19:41:05 +0000 Subject: [PATCH] ITS#6569 --- CHANGES | 1 + libraries/libldap/result.c | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGES b/CHANGES index b2b433e643..09f3306bea 100644 --- a/CHANGES +++ b/CHANGES @@ -1,6 +1,7 @@ OpenLDAP 2.4 Change Log OpenLDAP 2.4.23 Engineering + Fixed libldap to return server's error code (ITS#6569) Fixed libldap memleaks (ITS#6568) Fixed liblutil off-by-one with delta (ITS#6541) Fixed slapd syncrepl rid logging (ITS#6533) diff --git a/libraries/libldap/result.c b/libraries/libldap/result.c index e98ea7dd75..05580b793c 100644 --- a/libraries/libldap/result.c +++ b/libraries/libldap/result.c @@ -994,6 +994,7 @@ nextresp2: /* need to return -1, because otherwise * a valid result is expected */ + ld->ld_errno = lderr; return -1; } } -- 2.39.5