From: Howard Chu Date: Fri, 31 Jan 2003 18:46:17 +0000 (+0000) Subject: Fix for LDAP_SLAPI not def'd X-Git-Tag: NO_SLAP_OP_BLOCKS~459 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5e7655d68d210b4898ab89629921b3f8a67ace76;p=openldap Fix for LDAP_SLAPI not def'd --- diff --git a/servers/slapd/add.c b/servers/slapd/add.c index 8bb5c4fb44..cb93cee577 100644 --- a/servers/slapd/add.c +++ b/servers/slapd/add.c @@ -470,11 +470,13 @@ do_add( Connection *conn, Operation *op ) #endif /* SLAPD_MULTIMASTER */ } } else { +#ifdef LDAP_SLAPI rc = doPreAddPluginFNs( be, pb ); if ( rc != LDAP_SUCCESS ) { /* plugin will have sent result */ goto done; } +#endif #ifdef NEW_LOGGING LDAP_LOG( OPERATION, INFO, "do_add: conn %d no backend support\n", conn->c_connid, 0, 0 );