]> git.sur5r.net Git - openldap/commitdiff
Fix for LDAP_SLAPI not def'd
authorHoward Chu <hyc@openldap.org>
Fri, 31 Jan 2003 18:46:17 +0000 (18:46 +0000)
committerHoward Chu <hyc@openldap.org>
Fri, 31 Jan 2003 18:46:17 +0000 (18:46 +0000)
servers/slapd/add.c

index 8bb5c4fb449720679de8859fdf3b3c1ac842635d..cb93cee577f6705dc40491e3569a1fe96cf4beac 100644 (file)
@@ -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 );