mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-30 13:30:57 +08:00
Fix C errors
This commit is contained in:
parent
a9aeb858fe
commit
5953a397fc
@ -621,9 +621,9 @@ glue_entry_get_rw (
|
||||
int rw,
|
||||
Entry **e )
|
||||
{
|
||||
int rc;
|
||||
BackendDB *b0 = op->o_bd;
|
||||
op->o_bd = glue_back_select( b0, dn );
|
||||
int rc;
|
||||
|
||||
if ( op->o_bd->be_fetch ) {
|
||||
rc = op->o_bd->be_fetch( op, dn, oc, ad, rw, e );
|
||||
|
@ -1177,18 +1177,19 @@ static const rewrite_mapper slapd_mapper = {
|
||||
|
||||
int slap_sasl_init( void )
|
||||
{
|
||||
|
||||
#ifdef ENABLE_REWRITE
|
||||
rewrite_mapper_register( &slapd_mapper );
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_CYRUS_SASL
|
||||
int rc;
|
||||
static sasl_callback_t server_callbacks[] = {
|
||||
{ SASL_CB_LOG, &slap_sasl_log, NULL },
|
||||
{ SASL_CB_LIST_END, NULL, NULL }
|
||||
};
|
||||
#endif
|
||||
|
||||
#ifdef ENABLE_REWRITE
|
||||
rewrite_mapper_register( &slapd_mapper );
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_CYRUS_SASL
|
||||
#ifdef HAVE_SASL_VERSION
|
||||
/* stringify the version number, sasl.h doesn't do it for us */
|
||||
#define VSTR0(maj, min, pat) #maj "." #min "." #pat
|
||||
|
Loading…
Reference in New Issue
Block a user