From 8de44663f7bd0583875869519de1b829dc2dfe02 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Mon, 8 Apr 2002 10:34:04 +0000 Subject: [PATCH] ITS#1730 and completion of ITS#1701 --- libraries/libldap/request.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- 2.39.5