From: Howard Chu Date: Thu, 23 Sep 1999 22:35:58 +0000 (+0000) Subject: Update ld->ld_errno if LDAP_DECODING_ERROR... X-Git-Tag: UCDATA_2_4~385 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=91e24173d0fa168bdd3e585af2d56f3299a20c00;p=openldap Update ld->ld_errno if LDAP_DECODING_ERROR... --- diff --git a/libraries/libldap/error.c b/libraries/libldap/error.c index 81de8d8a27..a248dde703 100644 --- a/libraries/libldap/error.c +++ b/libraries/libldap/error.c @@ -316,7 +316,7 @@ ldap_parse_result( } if ( tag == LBER_ERROR ) { - errcode = LDAP_DECODING_ERROR; + ld->ld_errno = errcode = LDAP_DECODING_ERROR; } if( ber != NULL ) {