]> git.sur5r.net Git - openldap/commitdiff
If no plugins are registered, have front-end silently ignore
authorLuke Howard <lukeh@openldap.org>
Tue, 21 Jan 2003 14:52:33 +0000 (14:52 +0000)
committerLuke Howard <lukeh@openldap.org>
Tue, 21 Jan 2003 14:52:33 +0000 (14:52 +0000)
servers/slapd/slapi/plugin.c

index c12e75a5ca101f239d87c33a34612d6499ce2620..f1995f5c0488943260d2ea784d0bb60d230e82f6 100644 (file)
@@ -573,7 +573,8 @@ doPluginFNs(
 
        rc = getAllPluginFuncs(be, funcType, &tmpPlugin );
        if ( rc != LDAP_SUCCESS || tmpPlugin == NULL ) {
-               return rc;
+               /* Nothing to do, front-end should ignore. */
+               return 0;
        }
 
        for ( pGetPlugin = tmpPlugin ; *pGetPlugin != NULL; pGetPlugin++ ) {