as a temporary hack, return result without rewriting match

This commit is contained in:
Pierangelo Masarati 2002-01-22 08:17:02 +00:00
parent 78dd105654
commit f83fd25872

View File

@ -411,8 +411,13 @@ ldap_back_op_result(struct ldapconn *lc, Operation *op)
#ifdef ENABLE_REWRITE
/*
* need rewrite info; mmmh ...
* FIXME: need rewrite info for match; mmmh ...
*/
send_ldap_result( lc->conn, op, err, match, msg, NULL, NULL );
/* better test the pointers before freeing? */
if ( match ) {
free( match );
}
#else /* !ENABLE_REWRITE */
@ -421,6 +426,7 @@ ldap_back_op_result(struct ldapconn *lc, Operation *op)
if ( match ) {
free( match );
}
#endif /* !ENABLE_REWRITE */
if ( msg ) free( msg );