[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Patch: Wrong return types for ber_scanf and ber_flatten (ITS#1701)



> Thanks.  I committed (to HEAD) fixes based upon your patch.

Almost right.  You forgot this:

diff -u2 -r libraries/libldap/request.c~ libraries/libldap/request.c
--- libraries/libldap/request.c~	Thu Apr  4 11:15:40 2002
+++ libraries/libldap/request.c	Sat Apr  6 18:18:56 2002
@@ -1128,5 +1128,5 @@
 	} 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 ) {

-- 
Hallvard