--- libraries/libldap/result.c 2003/02/08 20:53:07 1.77 +++ libraries/libldap/result.c 2003/02/09 06:42:25 1.78 @@ -1,4 +1,4 @@ -/* $OpenLDAP: pkg/ldap/libraries/libldap/result.c,v 1.76 2003/02/03 16:28:19 jongchoi Exp $ */ +/* $OpenLDAP: pkg/ldap/libraries/libldap/result.c,v 1.77 2003/02/08 20:53:07 kurt Exp $ */ /* * Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved. * COPYING RESTRICTIONS APPLY, see COPYRIGHT file @@ -811,11 +811,6 @@ lr->lr_res_matched ? lr->lr_res_matched new->lm_msgtype = tag; new->lm_ber = ber; -#ifndef LDAP_NOCACHE - if ( ld->ld_cache != NULL ) { - ldap_add_result_to_cache( ld, new ); - } -#endif /* LDAP_NOCACHE */ /* is this the one we're looking for? */ if ( msgid == LDAP_RES_ANY || id == msgid ) { @@ -883,18 +878,7 @@ lr->lr_res_matched ? lr->lr_res_matched prev->lm_next = l->lm_next; *result = l; ld->ld_errno = LDAP_SUCCESS; -#ifdef LDAP_WORLD_P16 - /* - * XXX questionable fix; see text for [P16] on - * http://www.critical-angle.com/ldapworld/patch/ - * - * inclusion of this patch causes searchs to hang on - * multiple platforms - */ - return( l->lm_msgtype ); -#else /* LDAP_WORLD_P16 */ return( tag ); -#endif /* !LDAP_WORLD_P16 */ } leave: