]> git.sur5r.net Git - openldap/commitdiff
Update ld->ld_errno if LDAP_DECODING_ERROR...
authorHoward Chu <hyc@openldap.org>
Thu, 23 Sep 1999 22:35:58 +0000 (22:35 +0000)
committerHoward Chu <hyc@openldap.org>
Thu, 23 Sep 1999 22:35:58 +0000 (22:35 +0000)
libraries/libldap/error.c

index 81de8d8a27ee6a2b65c9754314fd918071302cab..a248dde7034a075bfd0c64bd473ff53ea36f60d9 100644 (file)
@@ -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 ) {