From: Pierangelo Masarati Date: Mon, 8 Apr 2002 10:34:04 +0000 (+0000) Subject: ITS#1730 and completion of ITS#1701 X-Git-Tag: OPENLDAP_REL_ENG_2_MP~245 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8de44663f7bd0583875869519de1b829dc2dfe02;p=openldap ITS#1730 and completion of ITS#1701 --- diff --git a/libraries/libldap/request.c b/libraries/libldap/request.c index c963a0f166..5c018ca7b8 100644 --- a/libraries/libldap/request.c +++ b/libraries/libldap/request.c @@ -1127,7 +1127,7 @@ re_encode_request( LDAP *ld, } else if ( tag == LDAP_REQ_SEARCH ) { /* search requests need to be re-scope-ed */ - rc = ber_scanf( &tmpber, "{ae" /*"}"*/, &orig_dn, &scope ); + rtag = ber_scanf( &tmpber, "{ae" /*"}"*/, &orig_dn, &scope ); if( srv->lud_scope != LDAP_SCOPE_DEFAULT ) { /* use the scope provided in reference */