From: Quanah Gibson-Mount Date: Thu, 10 Jun 2010 19:41:05 +0000 (+0000) Subject: ITS#6569 X-Git-Tag: OPENLDAP_REL_ENG_2_4_23~17 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=91ff00a4a0c378df880bb3532487a857a7aad114;p=openldap ITS#6569 --- 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; } }