]> git.sur5r.net Git - openldap/commitdiff
ITS#1730 and completion of ITS#1701
authorPierangelo Masarati <ando@openldap.org>
Mon, 8 Apr 2002 10:34:04 +0000 (10:34 +0000)
committerPierangelo Masarati <ando@openldap.org>
Mon, 8 Apr 2002 10:34:04 +0000 (10:34 +0000)
libraries/libldap/request.c

index c963a0f166a0e2332bab55a877c7163a39ae8d9e..5c018ca7b88e4bcdff6b2c8c8e60ddbc7e617035 100644 (file)
@@ -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 */